1 Unicode/Collate version 0.23
2 ===============================
6 Unicode::Collate - Unicode Collation Algorithm
13 $Collator = Unicode::Collate->new(%tailoring);
16 @sorted = $Collator->sort(@not_sorted);
19 $result = $Collator->cmp($a, $b); # returns 1, 0, or -1.
20 $result = $Collator->eq($a, $b); # returns true/false
21 (similarly ->ne, ->lt, ->le, ->gt, ->ge)
27 To install this module type the following:
34 To use this module, it is better to install a table file in the UCA format,
35 by copying it into the lib/Unicode/Collate directory.
37 The most preferable one is "The Default Unicode Collation Element Table",
38 available from the Unicode consortium's website:
40 http://www.unicode.org/reports/tr10/allkeys.txt
42 Though this distribution contains a subset of allkeys.txt, named "keys.txt",
43 this one is intended only for doing a test of this module
44 and practically useless for any other purpose.
48 The conformant collation requires Unicode::Normalize (v 0.10 or later)
49 although Unicode::Collate can be used without Unicode::Normalize.
53 SADAHIRO Tomoyuki <SADAHIRO@cpan.org>
55 http://homepage1.nifty.com/nomenclator/perl/
57 Copyright(C) 2001-2002, SADAHIRO Tomoyuki. Japan. All rights reserved.
59 This library is free software; you can redistribute it
60 and/or modify it under the same terms as Perl itself.