in reply to RE: RE: Re: If
in thread If doesn't work
I know the data file probably has only a couple of lines at most, but if it had 1000 why would you want to read in all 1000 when you only want the second? Of course, using two scalars is wasteful. my $line = (<FILE>, <FILE>);
I suspect the OP really wants the first line--not the second--which would make slurping into an array even more unnecessary.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: Re: If
by KM (Priest) on Jun 08, 2000 at 22:48 UTC |