develooper Front page | perl.perl5.porters | Postings from July 2004

Re: optimizing Short circuiting sort method based on [M]

From:
Dave Mitchell
Date:
July 21, 2004 15:16
Subject:
Re: optimizing Short circuiting sort method based on [M]
Message ID:
20040721221616.GE9401@iabyn.com
On Wed, Jul 21, 2004 at 04:58:54PM -0500, david nicol wrote:
> How impossible is it to find out the size of an Lvalue array?  I'm
> imagining defining the true value of  wantarray() function to be
> a reference to the array that is to be filled by the result.
> 
> Is that possible?.

Eh? what would wantarray return a ref to in

    sub f { wantarray() ... }
    ($a, $b, @c) = f();

-- 
Standards (n). Battle insignia or tribal totems.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About