On Fri, 2002-09-20 at 10:39, Larry Wall wrote:
> On 20 Sep 2002, Aaron Sherman wrote:
> : Is that "any list" as oppopsed to "any array"? Or is that arrayref in a
> : numeric context the length of the array? In other words does this do
> : what I think I think it does?
> : 
> :     $shouldbe3 = (1,2,3) + 0;
> 
> It's 3, though not for the reason a Perl 5 programmer would think.
> (In Perl 6 it's the length of the anonymous array, not the last value.)

Yes, sorry for the bad example. That's what I meant.

-- 
Aaron Sherman <[EMAIL PROTECTED]>

Reply via email to