On 5/26/05, Stuart Cook <[EMAIL PROTECTED]> wrote: > my $a, $b = 1, 2; # $b should contain 2, not 1 > my @foo = 3, 4, 5; # @foo should contain (3, 4, 5), not (list 3) > > What justification for the status quo could be so compelling that we > feel the need to prevent both of these from doing the 'natural' thing?
(Scanning through the the history of this thread, I noticed the link to Larry's comment about the precedence of "=" and ",". I personally would still prefer them to be changed, but I guess it's not a big deal, as long as we have warnings to catch obvious-but-wrong code like my suggestions. When in doubt, use parens...)