Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my ($str1, $str2) = @$ar;
        print editDistance($str1,$str2), " <$str1:$str2>\n";
    }
    
  2. or download this
    sub min {
        my $rv = shift;
    ...
    }
    
    print "Min test: ", min(5,0,-10), "\n";