for (;;) { my $line1 = <$fh>; last if not defined $line1; my $line2 = <$fh>; last if not defined $line2; ... }
In reply to Re: Reading two lines per loop iteration
by ikegami
in thread Reading two lines per loop iteration
by fishnflute
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |