You are viewing the version of this documentation from Perl 5.005_03. View the latest version

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.