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%     --