>>>>> "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
- Re: RFC 127 (v1) Sane resolution to large functi... Larry Wall
- Re: RFC 127 (v1) Sane resolution to large fu... Buddha Buck
- Re: RFC 127 (v1) Sane resolution to larg... Larry Wall
- Re: RFC 127 (v1) Sane resolution to large fu... Dan Sugalski
- Re: RFC 127 (v1) Sane resolution to larg... Larry Wall
- Re: RFC 127 (v1) Sane resolution to... Chaim Frenkel
- Re: RFC 127 (v1) Sane resolutio... Larry Wall
- Re: RFC 127 (v1) Sane resolutio... Chaim Frenkel
- Re: RFC 127 (v1) Sane resolutio... Dan Sugalski
- Re: RFC 127 (v1) Sane resolutio... Nick Ing-Simmons
- Re: RFC 127 (v1) Sane resolutio... Chaim Frenkel
- Re: RFC 127 (v1) Sane resolutio... Glenn Linderman
- Re: RFC 127 (v1) Sane resolutio... Chaim Frenkel
- Re: RFC 127 (v1) Sane resolutio... Glenn Linderman
- Re: RFC 127 (v1) Sane resolution to large fu... Hildo Biersma
- Re: RFC 127 (v1) Sane resolution to larg... Bart Lateur
- Re: RFC 127 (v1) Sane resolution to... Larry Wall
- Re: RFC 127 (v1) Sane resolutio... Dan Sugalski
- Re: RFC 127 (v1) Sane resolutio... Larry Wall
- Re: RFC 127 (v1) Sane resolutio... Chaim Frenkel
- Re: RFC 127 (v1) Sane resolution to large function return... GregLondon
