Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Reading two text files parallelly...

by Hugmeir (Sexton)
on Nov 08, 2010 at 19:56 UTC ( #870182=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open my $fh1, "<", $file1 or die "Cannot open file $file1: $!";
    open my $fh1, "<", $file2 or die "Cannot open file $file2: $!";
    
  2. or download this
    use strict;
    use warnings;
    ...
        chomp($test2 //= '');
        say "$test1, $test2";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-11-23 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls