Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Opening multiple files

by kielstirling (Scribe)
on Jan 30, 2012 at 01:45 UTC ( #950682=note: print w/ replies, xml ) Need Help??


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

Hi,

Maybe I'm still asleep but, will this ever return out of the while loop?

-Kiel R Stirling


Comment on Re^2: Opening multiple files
Re^3: Opening multiple files
by Eliya (Vicar) on Jan 30, 2012 at 02:08 UTC
    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.

      arr yes that will do it .. so i am still asleep :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2014-12-26 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls