in reply to Text-SpellChecker error

Text::Spellchecker can use either Text::Aspell or Text::Hunspell as a backend. Which do you have installed?

(On a side note, can anyone tell me what the best practices are for representing alternative dependencies in a cpan module?)

Brian

Replies are listed 'Best First'.
Re^2: Text-SpellChecker error
by Tux (Canon) on Jun 24, 2011 at 06:36 UTC

    Text::SpellChecker is with a capital C (pretty important if one uses copy/paste to install them with cpan to see what is wrong).

    toolic already found that there is some difference in the behavior under different perl versions. Note that Text::Hunspell's install under perl-5.14 is in need of an update:

    Use of qw(...) as parentheses is deprecated at inc/Devel/CheckLib.pm l +ine 191.

    Enjoy, Have FUN! H.Merijn
      Thanks. I reproduced the error but it only occurred because Text::Hunspell was missing in my install of perl 5.14. I released a new version of Text::SpellChecker yesterday with some better tests, and more diagnostics on failure (since there are a number of ways that the failure in the OP can occur : missing dictionaries, custom installation paths, ...)
        I released a new version of Text::SpellChecker yesterday
        ++ for the fast service.

        FYI: you introduced a minor POD bug into version 0.09:

        Change:

        head1 SYNOPSIS
        back to:
        =head1 SYNOPSIS

        Update: bug fixed in version 0.11.