Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: sort hash by value

by kcott (Archbishop)
on Mar 25, 2014 at 08:54 UTC ( [id://1079653]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
        print "Sort value: $_->[2]; Tag key: $_->[0]; Type key: $_->[1]";
        dd $licensehash{$_->[0]}{$_->[1]};
    }
    
  2. or download this
    Sort value: Chassis Serial; Tag key: CI; Type key: CI_CID
    ["", "", "", "Chassis Serial", 1, "[^0-9a-zA-Z]", []]
    ...
    Sort value: iTX Version; Tag key: COM; Type key: COM_PV
    ["", "", undef, "iTX Version", 1, "[^0-9.]", []]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-24 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found