Erm, you are aware that using just <> does pretty much the same thing already? Not to mention that while( <$ifh> ) { ... } isn't going to return false until there's an EOF condition on STDIN in which case you're not really going to gain much by not closing it (at least nothing useful that I can think of off hand).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: input from STDIN or from a file
by Fletch
in thread input from STDIN or from a file
by citromatik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |