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

Re: Sorting a hash in a predetermined order

by edimusrex (Monk)
on Nov 18, 2015 at 15:33 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-09-27 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?