NAME

my - declare and assign a local variable (lexical scoping)


SYNOPSIS

my EXPR

my EXPR : ATTRIBUTES


DESCRIPTION

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 the perlsub manpage for details.