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.
use Unicode::Collate::Standard::V3_1_1; use Unicode::Collate;
my $col = Unicode::Collate->new(table => V3_1_1_COLLATION);
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.
Unicode::Collate
http://www.unicode.org/reports/tr10/allkeys.txt
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.
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()>.
3_1_1_COLLATION
table
Unicode::Collate-
Ben Bennett <fiji at limey dot net>
Copyright (c) 2003 Ben Bennett. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Portions of the code in this distribution are derived from other works. Please see the CREDITS file for more details.
The full text of the license can be found in the LICENSE file included with this module.
perl-unicode@perl.org mailing list http://lists.perl.org/showlist.cgi?name=perl-unicode
http://lists.perl.org/showlist.cgi?name=perl-unicode
To install Unicode::Collate::Standard::V3_1_1, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Unicode::Collate::Standard::V3_1_1
CPAN shell
perl -MCPAN -e shell install Unicode::Collate::Standard::V3_1_1
For more information on module installation, please visit the detailed CPAN module installation guide.