Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 browsing the Monastery: (10)
As of 2014-10-02 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (59 votes), past polls