TComparable - Trait for adding comparison abilities to your object
This trait gives your object a wide range of comparison abilities through its overloading of the <=> operator.
This method should return -1 if
$left is less than
$left is equal to
and 1 if
$left is greater than
This fufills the requirement of the sub-trait TEquality.
Stevan Little <email@example.com>
Copyright 2004, 2005 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.