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 )){
...
}
  • Comment on Re^2: Read and analyze two file in parallel

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