They don't. Go read Coping with Scoping and disabuse yourself of that notion immediately.
Update: And it's not like the documentation for my and local as well as the section in perlsub which they direct for more information don't also explain they're not the same. Then again I guess reading documentation is passé around here now.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Difference b/w my and local var?
by Fletch
in thread Difference b/w my and local var?
by anbutechie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |