in reply to reading several lines in a gulp
my $several = ...; my @lines; push @lines, $_ while @lines < $several && defined($_ = <$file>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reading several lines in a gulp
by John M. Dlugosz (Monsignor) on May 01, 2011 at 16:31 UTC |