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

Re: sort in scalar context, but broken due to inexperience.

Thread Previous | Thread Next
From:
hv
Date:
June 9, 2004 03:21
Subject:
Re: sort in scalar context, but broken due to inexperience.
Message ID:
200406091023.i59ANXP24714@zen.crypt.org
Dave Mitchell <davem@iabyn.com> wrote:
:On Mon, Jun 07, 2004 at 10:30:43PM -0500, David Nicol wrote:
:> 
:> Attached is a patch to pp_sort.c that adds code to give a sortedness
:> ratio in scalar context.
:
:I thought that the concensus (such as it is) in a scalar context was that a
:concensus couldn't be reached on what it was supposed to return, and that
:therefore it should be left as is, with the warning?

That's certainly the consensus that I have reached.

Hugo

Thread Previous | Thread Next


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