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 reply to Re^2: Placement of $~ or $FORMAT_NAME
by loris
in thread Placement of $~ or $FORMAT_NAME
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |