more useful options | |
PerlMonks |
Re^3: Open multiple file handles?by shaitand (Initiate) |
on Jan 30, 2013 at 18:35 UTC ( [id://1016132]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|