in reply to Does Scope of Referenced Array Matter?
See also Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping )