Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 musing on the Monastery: (7)
As of 2015-08-02 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (16 votes), past polls