Perl: the Markov chain saw | |
PerlMonks |
Re^5: beginner - ordering tuplesby LanX (Saint) |
on Nov 14, 2010 at 02:22 UTC ( [id://871269]=note: print w/replies, xml ) | Need Help?? |
Right, I missed that the second position should be descending. You forgot a dereferencing: $b->[1] <=> $a->[1]
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|