broquaint wrote a very complete and interesting node about this subject : have a look at Lexical scoping like a fox.
A simpler explanation is to be found here : Variable Scoping in Perl: the basics.
In reply to Re: Difference between 'my' and 'local'
by zejames
in thread Difference between 'my' and 'local'
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |