Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: reading two files in parallel

by moritz (Cardinal)
on May 02, 2013 at 19:12 UTC ( #1031796=note: print w/ replies, xml ) Need Help??


in reply to Re: reading two files in parallel
in thread reading two files in parallel

The necessary additions, to be placed after what is shown, are trivial

No. The trivial additions are most certainly wrong.

If F2 is exhausted first, the last line read from F1 inside the loop is lost, because $a is scoped to the block, and last leaves that block.


Comment on Re^2: reading two files in parallel
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-04 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls