Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by ultranerds (Friar)
on Aug 10, 2009 at 14:01 UTC ( #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
Node Status?
node history
Node Type: note [id://787340]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-10-01 20:15 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 (7 votes). Check out past polls.