On Tue, Jul 13, 2004 at 05:00:00AM -0700, Nicholas Clark wrote:
> Change 23094 by [EMAIL PROTECTED] on 2004/07/13 11:28:49
> 
>       Generalised "how many in list context" would be useful
> 
> Affected files ...
> 
> ... //depot/perl/pod/perltodo.pod#84 edit
> 
> Differences ...
> 
> ==== //depot/perl/pod/perltodo.pod#84 (text) ====
> Index: perl/pod/perltodo.pod
> --- perl/pod/perltodo.pod#83~23082~   Sun Jul 11 13:09:00 2004
> +++ perl/pod/perltodo.pod     Tue Jul 13 04:28:49 2004
> @@ -137,6 +137,14 @@
>  
>  Make the peephole optimizer optional.
>  
> +=head2 You WANT *how* many
> +
> +Currently contexts are void, scalar and list. sort has a special mechanism in

Isn't it split that knows how many elements it wants returning?

> +place to pass in the number of return values wanted. It would be useful to
> +have a general mechanism for this, backwards compatible and little speed hit.
> +This would allow proposals such as short circuiting sort to be implemented
> +as a module on CPAN.
> +


-- 
Red sky at night - gerroff my land!
Red sky at morning - gerroff my land!
    -- old farmers' sayings #14

Reply via email to