Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 romping around the Monastery: (10)
As of 2014-10-23 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls