Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^6: Naming file handles with variables?

by TGI (Vicar)
on May 03, 2009 at 15:28 UTC ( #761595=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    my @fileHandles = map { 
        open my $fh, '<', $_ or die "Can't open $filename $!";
        $fh;
    } @fileNames;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (16)
As of 2014-12-17 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (31 votes), past polls