![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: localization of $_by mr.nick (Chaplain) |
on Feb 28, 2001 at 00:23 UTC ( #61159=note: print w/replies, xml ) | Need Help?? |
If you use $_ often as a temporary variable, you should definately use local $_; at the beginning of your subroutines to prevent this exact situation from happening.
In Section
Seekers of Perl Wisdom
|
|