Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

perlfunc:my

by gods
on Aug 24, 1999 at 22:42 UTC ( #277=perlfunc: print w/replies, xml ) Need Help??

my

See the current Perl documentation for my.

Here is our local, out-dated (pre-5.6) version:


my - declare and assign a local variable (lexical scoping)



my EXPR



A my() declares the listed variables to be local (lexically) to the enclosing block, file, or eval(). If more than one value is listed, the list must be placed in parentheses. See Private Variables via my() for details.


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
talexb sighs.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-07-18 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (383 votes). Check out past polls.

    Notices?