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 reply to Re^3: Open multiple file handles?
by shaitand
in thread Open multiple file handles?
by onlyIDleft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |