Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: two order sort

by salva (Canon)
on Mar 05, 2013 at 11:39 UTC ( [id://1021808]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Sort::Key::Multi 'ru_ru_keysort'; # sort by two unsigned keys in r
    +everse order
    use List::Util 'sum';
    ...
            my $l = $scan->{$_};
            (scalar(@$l), sum(@$l))
        } keys %$scan;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-29 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found