my - declare and assign a local variable (lexical scoping)
my EXPR
A "my" declares the listed variables to be local (lexically) to the enclosing block, subroutine, eval, or do/require/use’d file. If more than one value is listed, the list must be placed in parentheses. See the section on Private Variables via my() in the perlsub manpage for details.