Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Sorting HoH on 2nd level key?

by pc88mxer (Vicar)
on Jul 24, 2008 at 03:55 UTC ( [id://699763]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub sortBySite {
            my ($site_a) = keys %{$tmp{$a}{'priority'}};
            my ($site_b) = keys %{$tmp{$b}{'priority'}};
            return $site_a cmp $site_b;
    }
    
  2. or download this
      'hostX1-1-l.example.com' => {
        priority => 'IS-ABC',
    ...
        os => 'linux',
        pager => 'man-duty',
      }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-24 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found