Skip Menu |

This queue is for tickets about the String-Cluster-Hobohm CPAN distribution.

Report information
The Basics
Id: 77148
Status: resolved
Priority: 0/
Queue: String-Cluster-Hobohm

People
Owner: Nobody in particular
Requestors: dee.newcum [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.112890
Fixed in: (no value)



Subject: empty string cause crash
If an empty string is passed in to String::Cluster::Hobohm, it dies with a divide-by-zero error. The line it errors out on is the last line of _similarity(). A workaround is to prepend a space to every string before passing them in.
Thanks for the bug report! I've fixed this issue in the latest release -- it should work fine on empty strings now.