% perl -MUnicode::Collate -e 'Unicode::Collate->new'
Unicode::Collate: Can't locate Unicode/Collate/allkeys.txt in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/ perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/ local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 / usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/ local/lib/perl5/5.8.8 .) at -e line 1

Okay, I know, it wants a Unicode Collation Element Table, it's well documented in the pod where to get such a table.
But:
- it wants this file to be in $foo/Unicode/Collate/allkeys.txt where $foo is in @INC, which is very inconvenient, and even impossible to achieve in some hosted environments. - It seems the default table (DUCET) isn't bundled with Perl because of its size (1.2 Mb). Maybe "1.2Mb is too big" could be reconsidered w.r.t today's environment. At any rate does it really make sense that Unicode::Collate is in core but unusable as is?

--
Éric Cholet


Reply via email to