Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: reading two files in parallel

by LanX (Canon)
on May 02, 2013 at 19:32 UTC ( #1031798=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($a,$b);
    while( $a=<F1>, $b= <F2>, $a or $b) {
      ...
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
      chomp($a,$b);
      print "$a,$b\n";
    }
    
  3. or download this
    1,1
    2,2
    ,3
    ,4
    ,5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-27 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls