You are viewing the version of this documentation from Perl 5.005. View the latest version
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()" in perlsub for details.