At 11:54 AM 9/4/00 -0700, Nathan Wiger wrote: > > Seems a bit rare and unimportant -- until one observes how this > > would also solve the problem of people being confused by this > > gobbling up their handle: > > > > my($line) = <FH>; > >And a nice side effect too. As Peter says, the only problem is people >that are relying on this to get the actual last line...but I suspect >that's far fewer people than the ones would just want the first line and >used ()'s on my out of habit. I hope people are relying on it to get the first line, not the last, or they're in trouble: $ perl -e 'my($line)=<>;print $line' foo bar baz ^D foo -- Peter Scott Pacific Systems Design Technologies
- Change "($one, $two)=" behavior ... Nathan Wiger
- Re: Change "($one, $two)=" b... Tom Christiansen
- Re: Change "($one, $two)=" b... Nathan Wiger
- Re: Change "($one, $two)=" b... Tom Christiansen
- Re: Change "($one, $two)=" b... Nathan Wiger
- Re: Change "($one, $two)=" b... Tom Hughes
- Re: Change "($one, $two)=" b... Jeremy Howard
- Re: Change "($one, $two)=" b... Damian Conway
- Re: Change "($one, $two)=" b... Tom Christiansen
- Re: Change "($one, $two)=" b... Nathan Wiger
- Re: Change "($one, $two)=" b... Peter Scott
- Re: Change "($one, $two)=" b... Jeremy Howard
- Re: Change "($one, $two)=" b... Nathan Wiger
- Re: RFC 175 (v1) Add C<list> keyword to forc... Randal L. Schwartz
- Re: RFC 175 (v1) Add C<list> keyword to force lis... Bart Lateur
- Re: RFC 175 (v1) Add C<list> keyword to forc... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword to forc... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword to ... Bart Lateur
- Re: RFC 175 (v1) Add C<list> keyword... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword to forc... John Porter