Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Opening multiple files

by Eliya (Vicar)
on Jan 30, 2012 at 02:08 UTC ( #950685=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Opening multiple files
in thread Opening multiple files

will this ever return out of the while loop?

Yes, due to the

last unless defined $lines[0];

where $lines[0] becomes undef when EOF of the first file has been reached.

Comment on Re^3: Opening multiple files
Select or Download Code
Replies are listed 'Best First'.
Re^4: Opening multiple files
by kielstirling (Scribe) on Jan 30, 2012 at 02:11 UTC
    arr yes that will do it .. so i am still asleep :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-11-28 02:40 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 (737 votes), past polls