Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Read and analyze two file in parallel

by Anonymous Monk
on Mar 15, 2012 at 08:39 UTC ( [id://959750]=note: print w/replies, xml ) Need Help??


in reply to Re: Read and analyze two file in parallel
in thread Read and analyze two file in parallel

Update: As CountZero mentions, stopping the loop might be a good idea. So I added the last statement.

while(not( grep eof, $in1, $in2 )){
...
}

Replies are listed 'Best First'.
Re^3: Read and analyze two file in parallel
by Anonymous Monk on Nov 21, 2012 at 10:58 UTC
    Correction grep \&eof, otherwise you're testing @ARGV

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found