Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Using more than one filehandle

by Trimbach (Curate)
on Mar 24, 2004 at 14:40 UTC ( #339409=note: print w/replies, xml ) Need Help??


in reply to Using more than one filehandle

open (FILE1, "file1.txt") or die "Can't read file1: $!"; open (FILE2, "file2.txt") or die "Can't read file2: $!"; #.... do whatever you need to each file, accessing them by the # appropriate filehandle.

Gary Blackburn
Trained Killer

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://339409]
help
Chatterbox?
[Lady_Aleena]: Sorry for the name typo LanX.
[LanX]: never lad_ena!
[LanX]: ;)
[Lady_Aleena]: IMO, Fancy::Join:: Grammatical isn't bad, but RolePlaying:: WorldBuilding:: WorldBuildersGuide book::ClimateTerra inSubsistance is on the long side.
[Lady_Aleena]: I'm still in reorganizing/ renaming mode.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-05-24 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?