Perl 5 version 6.0 documentation
my
- my EXPR
- my EXPR : ATTRIBUTES
A
my
declares the listed variables to be local (lexically) to the enclosing block, file, oreval
. If more than one value is listed, the list must be placed in parentheses. See Private Variables via my() in perlsub for details.