Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: beginner - ordering tuples

by LanX (Saint)
on Nov 14, 2010 at 02:22 UTC ( [id://871269]=note: print w/replies, xml ) Need Help??


in reply to Re^4: beginner - ordering tuples
in thread beginner - ordering tuples

Right, I missed that the second position should be descending.

You forgot a dereferencing: $b->[1] <=> $a->[1]

Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://871269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found