Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Does while localize $_?by tenya (Beadle) |
on Mar 18, 2001 at 22:40 UTC ( [id://65287]=note: print w/replies, xml ) | Need Help?? |
Your comment and several others I have seen here suggest that while(FH) and foreach automatically localize $_. But the folowing code seems does not revert to the old $_ after leaving the while loop. What am I missing? Thanks.
In Section
Seekers of Perl Wisdom
|
|