more useful options | |
PerlMonks |
Re^4: beginner - ordering tuplesby 7stud (Deacon) |
on Nov 13, 2010 at 22:19 UTC ( [id://871259]=note: print w/replies, xml ) | Need Help?? |
In your elegant solution, you need to switch around your second conditional to: $b->[1] <=> $a[1]
In Section
Seekers of Perl Wisdom
|
|