Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by AnomalousMonk (Canon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-09-25 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.