There is definitely an explanation in the Camel (Chapter 4.8.1, Scoped variable 
declarations).

my $var declares a lexical variable, i.e. a variable with limited scope (where the 
scope is limited by an enclosing block, such as a subroutine, a conditional loop etc.).

HTH,

Jan

Harshal Borade wrote:

>Well I am very new to Perl. I have read  Oreily's
>Camel book, but haven't found any thing about 
>my that is used in any of the code.
>
>e.g 
>my $var
>
>What is my supposed to be over here?
-- 
Common sense is what tells you that the world is flat.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to