Also note that if you are willing to properly localize them with my, then you should not need to issue an explicit close. Of course declaring $a or $b to be lexical makes writing a sort subroutine hard (hence the first piece of advice).
Finally I think your "only way to fly" comment is a bit strong...
In reply to Re (tilly) 7: Determining what line a filehandle is on
by tilly
in thread Determining what line a filehandle is on
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |