Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
OK, got it solved and understood now, thanks.
I actually just want NOT to read from STDIN when there is a file given in the command line, and stop reading when that file is exhausted. Turns out that I should NOT any further $line = <> once that hit EOF, because the immediate next attempt to do so will just open STDIN. Ahaa... :) Thank you. In reply to Re^4: <> oddity ?
by Krambambuli
|
|