Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^4: <> oddity ?

by Krambambuli (Deacon)
on Mar 27, 2013 at 11:58 UTC ( #1025691=note: print w/ replies, xml ) Need Help??

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.

Ahaa... :)

Thank you.

Comment on Re^4: <> oddity ?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025691]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2015-11-27 23:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls