I don't see anything wrong with it, but I normally just use the <> filehandle instead (see "I/O Operators" in perlop).
In reply to Re: input from STDIN or from a file
by kyle
in thread input from STDIN or from a file
by citromatik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |