my $line = (map scalar (<FH>),0..1)[1];
If you use scalar() in there the filehandle will not be used in list context, therefor not being read in all at once.
Cheers,
KM
In reply to RE: RE: RE: RE: Re: If
by KM
in thread If doesn't work
by MAS4891
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |