I think it would be prudent to test for defined.
The code I posted:
while ( my $line = <> ) {
does test for defined.
In reply to Re^3: How to process multiple input files?
by jwkrahn
in thread How to process multiple input files?
by rnaeye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |