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?

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to