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

Re: more 5.9 sort tests

Rafael Garcia-Suarez
July 21, 2004 06:16
Re: more 5.9 sort tests
Message ID:
Nicholas Clark wrote:
> Based on my memory of the thread David figured a way to test sort stability
> without resorting to overloading, by using <=> and not-really-numbers
> rather than the complex overloading games I thought of.

Yes, but in this case what does mean the comment :
> > > +# test that optimized {$b cmp $a} remains stable (new in 5.9)
> > > +# without overloading

> However, the patch isn't warnings clean, which given that sort.t runs under
> warnings, isn't going to fly.

Easily fixable, just like the test count :) Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About