Unicode::Collate::Standard::V3_1_1 - Thin Perl wrapper to allow easy


Unicode-Collate-Standard-V3_1_1 documentation  | view source Contained in the Unicode-Collate-Standard-V3_1_1 distribution.

Index


NAME

Top

Unicode::Collate::Standard::V3_1_1 - Thin Perl wrapper to allow easy installation of the Unicode collation database that Unicode::Collate uses to sort Unicode data.

SYNOPSIS

Top

use Unicode::Collate::Standard::V3_1_1; use Unicode::Collate;

my $col = Unicode::Collate->new(table => V3_1_1_COLLATION);

DESCRIPTION

Top

Because the Unicode::Collate module does not come with a collation table (e.g. http://www.unicode.org/reports/tr10/allkeys.txt it will cause a run-time error unless someone has manually installed the rules, since Unicode::Collate is part of perl core, it is unlikely that people will see the message to get that file.

This module allows someone who wishes to use the module to require that the collation rules for a particular version of Unicode be installed so that Unicode::Collate does not throw a run time error because the rules are not present.

USAGE

Top

By default this module exports the subroutine 3_1_1_COLLATION which gives the relative path to the collation rules for that version of Unicode. This is only meaningful to the table argument to Unicode::Collate-new()>.

AUTHOR

Top

Ben Bennett <fiji at limey dot net>

COPYRIGHT

Top

SEE ALSO

Top

perl-unicode@perl.org mailing list http://lists.perl.org/showlist.cgi?name=perl-unicode


Unicode-Collate-Standard-V3_1_1 documentation  | view source Contained in the Unicode-Collate-Standard-V3_1_1 distribution.