Subject: | bug reported. |
Date: | Sat, 3 Nov 2007 17:24:50 -0400 |
To: | <bug-Text-Levenshtein [...] rt.cpan.org> |
From: | "Drucker, Harris" <drucker [...] monmouth.edu> |
Using Text-Levenshtein-0.05
Here is the program:(called try.pl)
#!perl -w
use Text::Levenshtein qw(distance fastdistance);
$my_distance = distance ("a", "foo");
print "$my_distance\n";
Here is the error mesage:
Show quoted text
prompt> perl -w try.pl
substr outside of string at /usr/lib/perl5/site_perl/5.8.6/Text/Levenshtein.pm line 49.
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.6/Text/Levenshtein.pm line 49.
3
Show quoted textprompt>perl -v
This is perl, v5.8.6 built for i386-linux-thread-multi
Show quoted textprompt>uname -a
Linux harris.monmouth.edu 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006 i686 i686 i386 GNU/Linux
Harris Drucker, Ph.D.
drucker@monmouth.edu
732-870-9194 (home)
908-489-8891 (cell)