develooper Front page | perl.perl6.language | Postings from August 2006

Numerification of Order:: constants

Thread Next
From:
Reed, Mark
Date:
August 17, 2006 09:54
Subject:
Numerification of Order:: constants
Message ID:
CC5841641559A4449EE25CD22EBB9F5A045DF530@ATLMSG04.turner.com
S03, lines 418-420:  "[cmp] always returns C<Order::Increase>,
C<Order::Same>, or C<Order::Decrease> (which numerify to -1, 0, or +1)."
 
Shouldn't Order::Increase numerify to +1 and Order::Decrease to -1?  In
which case it would be clearer to put them in respective order above...

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