Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: File handles - there must be a better way

by AnomalousMonk (Chancellor)
on May 13, 2013 at 19:52 UTC ( #1033346=note: print w/replies, xml ) Need Help??


in reply to Re: File handles - there must be a better way
in thread File handles - there must be a better way

Or, keeping the index 0 assignment (array  @InHandles is not changed – might need it later?):

my $file1 = $InHandles[0]; ... for my $fh (@InHandles[ 1 .. $#InHandles ]) { ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033346]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-11-21 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (304 votes). Check out past polls.

    Notices?