I think these two lines are only needed because you want to provide a scalar context to <FILE>. That can be done easier and more efficiently (and probably more readable as well):my $line = <FILE>; # read the next line print $line;
Lizprint scalar <FILE>; # read the next line and print it
In reply to Re: Re: Extracting Text Lines
by liz
in thread Extracting Text Lines
by mikevanhoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |