On Fri Jan 04 13:49:23 2013, vsespb wrote:
Show quoted text> The only way to use it is
>
> perl -MUnicode::CaseFoldPP -e 'Unicode::CaseFold->case_fold(1)'
>
> the following does not work:
>
> perl -MUnicode::CaseFoldPP -e 'Unicode::CaseFoldPP->case_fold(1)'
> perl -MUnicode::CaseFoldPP -e 'case_fold(1)'
> perl -MUnicode::CaseFoldPP -e 'fc(1)'
Hi,
there is no CaseFoldPP interface; it's an internal package. The only
interface you should be using, and the only module you should be
"use"ing, is Unicode::CaseFold. It will use XS whenever it's available,
and pure perl if it's not.
If you want to force PP even if XS is available (perhaps for debugging),
set $ENV{PERL_UNICODE_CASEFOLD_PP} = 1 before loading the module.