Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Trying to make a string generated like google

by ultranerds (Hermit)
on Aug 10, 2009 at 14:01 UTC ( [id://787340]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my @sorted_phrases = sort { $b->{sort_number} <=> $a->{sort_number
    +}, $b->{count} <=> $a->{count}  }
                          values %$strings;
    
  2. or download this
        my @sorted_phrases = sort { $b->{count} <=> $a->{count}  }
                          values %$strings;
    
  3. or download this
        my @sorted_phrases_2;
    #    my $i = 0;
        foreach (my $i = 0; $i <= $#sorted_phrases; $i++) {
    ...
        }
    
        @sorted_phrases = @sorted_phrases_2;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found