Or, if you really want to, you can overload cmp as a call to Some::Module::comparison, and then as long as $a and $b are objects of that module, they'll sort automatically.
In reply to Re^2: just how special are $a and $b these days?
by DStaal
in thread just how special are $a and $b these days?
by davidnicol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |