in reply to Re: Reading files n lines a time
in thread Reading files n lines a time
Perhaps marginally nicer, the kite operator:
while(( my @lines = map ~~<>, 1 .. 4 )[0]) { print @lines; print "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reading files n lines a time
by mbethke (Hermit) on Dec 06, 2012 at 15:37 UTC |