in reply to Re: input record separator
in thread input record separator
can also be written asmy @lines; while (<>) { push @lines, $_; next if $. % 3; ... @lines = (); } die if @lines;
while (!eof()) { my @lines; defined( $lines[@lines] = <> ) or die for 1..3; ... }
|
|---|