perldoc -f sort has a vast amount of information on writing sort subroutines.
But if all you want to do is use a function from some random module to do the comparison, how about ...
@output = sort { Some::Module::comparison($a, $b) } @input
In reply to Re: just how special are $a and $b these days?
by DrHyde
in thread just how special are $a and $b these days?
by davidnicol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |