![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Re: Re: $_ scoping issuesby tilly (Archbishop) |
on Jul 16, 2003 at 01:42 UTC ( #274658=note: print w/replies, xml ) | Need Help?? |
To more precisely state it, no matter what package has been declared, $_ means $main::_. As an amusing side effect, the declaration our $_; will (if you are in any package other than main) cause your explicit references to $_ to not be the $_ that you expect...
In Section
Seekers of Perl Wisdom
|
|