Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Sorting a hash in a predetermined order

by edimusrex (Monk)
on Nov 18, 2015 at 15:33 UTC ( [id://1148029]=note: print w/replies, xml ) Need Help??


in reply to Sorting a hash in a predetermined order

With the hard coded logic I ended up doing the following

foreach my $member (keys %int){ print "$member: \n\tIP - $int{$member}{ip}\n\tOK? - $int{$member} +{ok}\n\tMethod - $int{$member}{method}\n\tStatus - $int{$member}{stat +us}\n\tProtocol - $int{$member}{protocol}\n\n"; }


It does exactly what I want it to. Thanks again

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148029]
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-28 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found