in reply to input from STDIN or from a file
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: input from STDIN or from a file
by citromatik (Curate) on Jan 28, 2008 at 18:02 UTC | |
|
Re^2: input from STDIN or from a file
by citromatik (Curate) on Jan 28, 2008 at 19:58 UTC | |
by Fletch (Bishop) on Jan 28, 2008 at 20:22 UTC |