Easy workaround:
for my $handle (@in_fh) { while (<$handle> ) { print ; } }
You also have an "off-by-one" error: $i <= $count which you would have spotted by using strict and warnings.
In reply to Re: Using an array of file handles
by hdb
in thread Using an array of file handles
by Laurent_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |