Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

perlfunc:my

by gods (Initiate)
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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-12-10 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (40 votes). Check out past polls.

    Notices?