Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: read from two files at once?

by samtregar (Abbot)
on May 07, 2009 at 15:29 UTC ( #762639=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      open FILE1, "<", "file1.txt" or die $!;
      open FILE2, "<", "file1.txt" or die $!;
    ...
        my $line2 = <FILE2>;
        # ...
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-06-25 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (81 votes). Check out past polls.

    Notices?