in reply to
Re^3: <> oddity ?
in thread <> oddity ?
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.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (673 votes),