in reply to
Need an $a and $b as in perl's sort routine
Perhaps
Scalar-List-Utils
will provide some examples? See first() and reduce().
Comment on
Re: Need an $a and $b as in perl's sort routine
In Section
Seekers of Perl Wisdom