>Let me shift gears and instead ask whether anyone thinks this: >> > $y = ($first, $second) = grep /$pat/, @data; >Returning "5" has any value? If you're going to do this, it seems like >you'd want the number that were really returned (since scalar grep >will give you the total number found anyways). Of course: the LHS is a known quantity; only the RHS is a mystery. That's why it does this. I'm sure this in perldata. --tom
- Re: RFC 175 (v1) Add C<list> keyword to force ... Bart Lateur
- Re: RFC 175 (v1) Add C<list> keyword to fo... Peter Scott
- Re: RFC 175 (v1) Add C<list> keyword to force list ... Damian Conway
- Re: RFC 175 (v1) Add C<list> keyword to force ... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword to fo... Steve Fink
- Re: RFC 175 (v1) Add C<list> keyword t... Graham Barr
- Re: RFC 175 (v1) Add C<list> keyword t... Tom Christiansen
- Re: RFC 175 (v1) Add C<list> keyword to fo... Nathan Wiger
- Re: RFC 175 (v1) Add C<list> keyword t... Tom Christiansen
- Change "($one, $two)=" behavio... Nathan Wiger
- Re: Change "($one, $two)="... Tom Christiansen
- Re: Change "($one, $two)="... Nathan Wiger
- Re: Change "($one, $two)="... Tom Christiansen
- Re: Change "($one, $two)="... Nathan Wiger
- Re: Change "($one, $two)="... Tom Hughes
- Re: Change "($one, $two)="... Jeremy Howard
- Re: Change "($one, $two)="... Damian Conway
- Re: Change "($one, $two)="... Tom Christiansen
- Re: Change "($one, $two)="... Nathan Wiger
- Re: Change "($one, $two)="... Peter Scott
- Re: Change "($one, $two)="... Jeremy Howard