|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: Placement of $~ or $FORMAT_NAMEby loris (Hermit) |
| on May 13, 2011 at 13:08 UTC ( #904662=note: print w/ replies, xml ) | Need Help?? |
|
Ah, so $~ isn't set for whichever filehandle is current, but just for the one that is current at the moment. If I change the filehandle with select() I also have to reset $~. Thanks,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||