Given an open filehandle, why don't these two things do the same thing?
**************************************
@l2r{"a","b"} = (<FILE>, <FILE>);
$c = <FILE>;
**************************************
$l2r{"a"} = <FILE>;
$l2r{"b"} = <FILE>;
$c = <FILE>;
**************************************
The first seems to be slurping the whole file into $l2r{"b"} and leaving $c
undefined... The second does what I want. Doesn't seem to make sense.
TIA.
- Bryan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/