>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> 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)
DS> Wouldn't that be $baz = 3, since the middle list would be taken in scalar
DS> context?
Don't make me go there. I already abhor,
sub foo { (3,2,1) }
$x = foo; # $x == 1
I wish Larry would let it go away, a quick death.
I can see the horror from the internals standpoint. You have to special
case a literal 'list'.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183