Dan Sugalski <[EMAIL PROTECTED]> writes:
>At 02:25 PM 8/24/00 -0400, Chaim Frenkel wrote:
>>But
>>
>>($foo, $baz, @bar) = (1,(2,3),4) # $foo = 1 $baz=2, @bar=(3,4)
>>
>>Actually, looking at it like that makes it an ugly situation. The 'new'
>>expectation would be to have it become
>>                                 # $foo=1 $baz=2 @bar=(4)
>
>Wouldn't that be $baz = 3, since the middle list would be taken in scalar 
>context?

Which has sanely become the length of the list rather than last element.

-- 
Nick Ing-Simmons

Reply via email to