laziness, impatience, and hubris | |
PerlMonks |
Re: schwartzian transform and sorting on two columnsby BUU (Prior) |
on Sep 07, 2005 at 20:54 UTC ( [id://489998]=note: print w/replies, xml ) | Need Help?? |
It sounds like you want: sort { $a <=> $b or $c cmp $d }
In Section
Seekers of Perl Wisdom
|
|