develooper Front page | perl.perl5.porters | Postings from September 2009

Re: [perl #69384] numericness failure in sorting

From:
Zefram
Date:
September 26, 2009 13:02
Subject:
Re: [perl #69384] numericness failure in sorting
Message ID:
20090926200157.GL14049@fysh.org
Rafael Garcia-Suarez wrote:
>2009/9/26 Zefram <zefram@fysh.org>:
>> On a quick test with blead, just removing those two lines from S_sortcv
>> gave precisely the behaviour that I'm proposing.
>
>Does it break any test ?

No.  Apparently the current error case isn't being tested for.  Attached
is a patch that makes the change in behaviour, with corresponding test
and documentation.

-zefram




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