The other part of this is that when you use a file handle that is an
array or hash element, you must IIRC use the syntax
print { $fh[5] } "something \n";
(note the curly braces around the file handle that form a scope).
I'd like to provide a doc link, but I can't offhand remember where this is discussed. I may be able to look this up later, but in the meantime perhaps another monk may fill the gap. :)
Give a man a fish: <%-{-{-{-<
In reply to Re: Handling multiple output files simultaneously using arrays of filehandles and filenames
by AnomalousMonk
in thread Handling multiple output files simultaneously using arrays of filehandles and filenames
by Cosmic37
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |