Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Open multiple file handles?

by shaitand (Initiate)
on Jan 30, 2013 at 18:35 UTC ( #1016132=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Open multiple file handles?
in thread Open multiple file handles?

Just in case someone stumbles on this who actually does for whatever reason need to dynamically open x number of file handles where the programmer has no way to predict what x will be....

It is easy. You use a scalar in your open i.e. open($fh, then just stick it onto an array or hash.


Comment on Re^3: Open multiple file handles?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2015-07-05 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls