Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Output data to a table or horizontal bar chart

by theravadamonk (Scribe)
on May 18, 2018 at 11:41 UTC ( #1214839=note: print w/replies, xml ) Need Help??


in reply to Re^3: Output data to a table or horizontal bar chart
in thread OUTPUT Data to a table or horizontal bar chart

I changed below code

for my $word (sort keys %count) {
to
for my $word (sort { $count{$b} <=> $count{$a} } keys %count) {
It seems to work. Anyway, Your Ideas r welcome

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-10-24 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?