Pathologically Eclectic Rubbish Lister | |
PerlMonks |
perlfunc:myby gods (Initiate) |
on Aug 24, 1999 at 22:42 UTC ( [id://277]=perlfunc: print w/replies, xml ) | Need Help?? |
mySee 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. |
|