Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Unicode-CaseFold CPAN distribution.

Report information
The Basics
Id: 82413
Status: rejected
Priority: 0/
Queue: Unicode-CaseFold

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

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



Subject: CaseFoldPP module interface a bit broken
Download (untitled) / with headers
text/plain 271b
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)'
Download (untitled) / with headers
text/plain 715b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.