But is this useful?
sub baz { return ( 'one','two' ) }
my ($foo, $bar) = &baz; # $foo == 'one', $bar == 'two'
-Corwin
-----Original Message-----
From: Chaim Frenkel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 01, 2000 3:10 PM
To: Piers Cawley
Cc: Ted Ashton; Tom Christiansen; Simon Cozens; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: perl 6 requirements
>>>>> "PC" == Piers Cawley <[EMAIL PROTECTED]> writes:
>> How locked in to your brain is this lack of consistency? How un-perlish
>> would it be to cleanup, crypto-context, or the meaning of a list in
>> a scalar context, or ...
PC> Don't you go touching the meaning of a list in a scalar context.
PC> That's bloody useful that is.
I don't find this meaningful:
sub foo() { return (1,7) }
$x = &foo(); # $x == 7;
<chaim>
--
Chaim Frenkel Nonlinear Knowledge,
Inc.
[EMAIL PROTECTED]
+1-718-236-0183