Says it clearly. No having to think of multiple screwiness.my @buffer; { push @buffer, scalar <IN>; redo unless eof(IN) or @buffer >= 10; ## process @buffer @buffer = (); redo unless eof(IN); }
-- Randal L. Schwartz, Perl hacker
In reply to Re: Reading multiple lines?
by merlyn
in thread Reading multiple lines?
by rdw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |