On Wed, May 25, 2005 at 12:29:29AM +0900, ?$BDgW"CN9T wrote: > > BTW, Unicode::Collate requires allkeys.txt, which is not shipped, > > so Unicode::Collate doesnot work out of the box: > > > > $ perl5.9.2 -MUnicode::Collate -e 'Unicode::Collate->new' > > Unicode::Collate: allkeys.txt is not found in > > /usr/local/lib/perl5/5.9.2/i686-linux-thread-multi > > /usr/local/lib/perl5/5.9.2 > > /usr/local/lib/perl5/site_perl/5.9.2/i686-linux-thread-multi > > /usr/local/lib/perl5/site_perl/5.9.2 /usr/local/lib/perl5/site_perl . at -e > > line 1 > > $ > > Such a large file (latest one has >1.1Mb) must be difficult > to be shipped in core.
Well, perl comes with a lot of heavy stuff: $ du -hs perl-5.8.7-RC1/Changes5.8 4,6M perl-5.8.7-RC1/Changes5.8 $ du -hsc perl-5.8.7-RC1/lib/unicore/*.txt |tail -2 944K perl-5.8.7-RC1/lib/unicore/UnicodeData.txt 3,5M total $ > So it is required to copy the file > from http://www.unicode.org/Public/UCA/latest/allkeys.txt > to <a place in @INC>/Unicode/Collate/allkeys.txt > manually. Thanks, I was able to grok README and solved this problem for myself some time ago. However, I believe that most perl installations have Unicode::Collate not enabled. Just check your favorite Linux distro...
pgpok6JtjAGDT.pgp
Description: PGP signature