You are viewing the version of this documentation from Perl 5.6.2. View the latest version
my EXPR
my EXPR : ATTRIBUTES

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()" in perlsub for details.