Commit | Line | Data |
45394607 |
1 | Unicode/Collate version 0.07 |
2 | =============================== |
3 | |
4 | use UCA (Unicode Collation Algorithm) |
5 | |
6 | See UCA - Unicode TR #10. |
7 | http://www.unicode.org/unicode/reports/tr10/ |
8 | |
9 | Fetch the following file before use and put it into the Unicode/Collate dir. |
10 | http://www.unicode.org/unicode/reports/tr10/allkeys.txt |
11 | |
12 | You can install this module using a subset "keys.txt" |
13 | contained in this distribution without the "allkeys.txt". |
14 | |
15 | SYNOPSIS |
16 | |
17 | use Unicode::Collate; |
18 | |
19 | #construct |
20 | $UCA = Unicode::Collate->new(%tailoring); |
21 | |
22 | #sort |
23 | @sorted = $UCA->sort(@not_sorted); |
24 | |
25 | #compare |
26 | $result = $UCA->cmp($a, $b); # returns 1, 0, or -1. |
27 | |
28 | INSTALLATION |
29 | |
30 | Perl 5.006 or later |
31 | |
32 | To install this module type the following: |
33 | |
34 | perl Makefile.PL |
35 | make |
36 | make test |
37 | make install |
38 | |
39 | DEPENDENCIES |
40 | |
41 | This module requires these other modules and libraries: |
42 | |
43 | Carp |
44 | Exporter |
45 | Lingua::KO::Hangul::Util |
46 | |
47 | It's better if Unicode::Normalize has been installed |
48 | although Unicode::Collate can be used without Unicode::Normalize. |
49 | |
50 | COPYRIGHT AND LICENCE |
51 | |
52 | SADAHIRO Tomoyuki <bqw10602@nifty.com> |
53 | |
54 | http://homepage1.nifty.com/nomenclator/perl/ |
55 | |
56 | Copyright(C) 2001, SADAHIRO Tomoyuki. Japan. All rights reserved. |
57 | |
58 | This program is free software; you can redistribute it and/or |
59 | modify it under the same terms as Perl itself. |
60 | |