...as JadeNB said. Or use readline:
my $line = readline $files[$num];
In reply to Re: reading from an arbitrary number of files using anonymous file handles
by almut
in thread reading from an arbitrary number of files using anonymous file handles
by downer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |