Skip Menu |

This queue is for tickets about the Lingua-Stem-Snowball CPAN distribution.

Report information
The Basics
Id: 7510
Status: resolved
Priority: 0/
Queue: Lingua-Stem-Snowball

People
Owner: Nobody in particular
Requestors: tech [...] allfind.us
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Lingua::Stem::Snowball::stem does not allow subclassing
i'm subclassing stemmer to implement exceptions and other features everything worked with 0.3, but when i've upgraded to 0.7 stem always return undef ... line 'ref($self) eq __PACKAGE__' prevent it so maybe better to change line if (ref($self) eq __PACKAGE__) { to if (ref($self) ne 'ARRAY') { I hope for soon fixing Thank you -----------------[original code]------------------ sub stem { my $self = shift; my ($words, $rr); if (ref($self) eq __PACKAGE__) { ($words, $rr) = @_; } else {
Bug fixed in 0.8 Thanks for your report, Fabien