Hello Laurent_R,
Since <FH> is Perl’s syntactic sugar for readline(*FH) (see readline), a straightforward way to disambiguate the syntax is to call readline directly:
while (my $line = readline $in_fh[$i]) { print $line; }
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Using an array of file handles
by Athanasius
in thread Using an array of file handles
by Laurent_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |