>>>>> "GL" == Glenn Linderman <[EMAIL PROTECTED]> writes:

GL> Chaim Frenkel wrote:
>> ($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)

GL> Actually?  How about it becoming
GL>      $foo = 1, $baz =3, @bar = (4)
GL> Remember what the following does:
GL>     $baz = ( 2, 3 );


I certainly do. But what is the context on the RHS. list, so
the other interpretation could hold just a well

        $baz = () = (2,3)       # $baz = 2

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to