Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: how to print top 5 elements from a hash

by arc_of_descent (Hermit)
on Jun 01, 2009 at 16:07 UTC ( #767302=note: print w/replies, xml ) Need Help??


in reply to how to print top 5 elements from a hash

You might need to read up on sort, if you need to sort your hash keys first.

--
Rohan
  • Comment on Re: how to print top 5 elements from a hash

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-10-01 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (3 votes). Check out past polls.