in reply to Difference my and local

Here is a good article on Scoping that Mark Jason Dominus wrote for The Perl Journal.
http://perl.plover.com/FAQs/Namespaces.html
Although the whole article is good, skip on down to the section titled "Local and My"