Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Wordfeud racks

by choroba (Cardinal)
on Jul 30, 2013 at 13:08 UTC ( [id://1047015]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    print map "$_ => " . ($hash{$_} / $sum) . "\n", sort { $hash{$a} <=> $
    +hash{$b} } keys %hash;
    print "Combinations: $combinations, Count: $sum.\n";
    
  2. or download this
    use Algorithm::Combinatorics qw(combinations);
    my %hash;
    ...
    while (my $rack = $iterator->next) {
        $hash{ join q(), @$rack }++;
    }
    
  3. or download this
    1 =================
             Rate module simple
    ...
           s/iter module simple
    module    328     --    -0%
    simple    327     0%     --
    

Log In?
Username:
Password:

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

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

    No recent polls found