Subject: | Gives error if string is empty |
Running this program:
#!/usr/bin/perl -w
use String::Approx;
print String::Approx::adist('', 'hello, world') . "\n";
Gives this output:
Can't use string ("0") as an ARRAY ref while "strict refs" in use at
/Users/nigel/perl/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level/String/Approx.pm
line 389.