Text-Soundex
view release on metacpan or search on metacpan
# test to detect an error in Mike Stok's original implementation, the
# error isn't in Mark Mielke's at all but the test should be kept anyway.
# originally spotted by Rich Pinder <rpinder@hsc.usc.edu>
tsoundex("CZARKOWSKA" => "C622");
exit 0;
my $test_label;
sub t (&)
{
my($test_f) = @_;
$test_label = undef;
eval {&$test_f};
my $ok = $@ ? "not ok" : "ok";
$test_counter++;
print "$ok - $test_counter $test_label\n";
}
sub tsoundex
( run in 1.120 second using v1.01-cache-2.11-cpan-524268b4103 )