Help for this page

Select Code to Download


  1. or download this
    use Math::Combinatorics qw( combine);
    my @collection; # list of strings
    ...
        ...
        return $value;
    }
    
  2. or download this
    my @similarity = map { $_->[0] }
                     sort { $a->[1] <=> $b->[1] }
                     map { [ $_, similarity($_) ] } @tuples;