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

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

From:
Graham Barr
Date:
June 8, 2004 23:35
Subject:
Re: sort in scalar context, but broken due to inexperience.
Message ID:
EC42FFD2-B9DE-11D8-9C00-0003937E19DE@pobox.com
On 9 Jun 2004, at 00:28, Dave Mitchell 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 uch 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?

I would agree with that.

Graham.




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