Unicode-Collate

Unicode::Collate(3p) Perl Programmers Reference Guide Unicode::Collate(3p)

Unicode-Collate

Unicode::Collate(3p) Perl Programmers Reference Guide Unicode::Collate(3p) # Unicode::Collate(3p) Perl Programmers Reference Guide Unicode::Collate(3p) NNAAMMEE # Unicode::Collate - Unicode Collation Algorithm SSYYNNOOPPSSIISS # use Unicode::Collate; #construct $Collator = Unicode::Collate->new(%tailoring); #sort @sorted = $Collator->sort(@not_sorted); #compare $result = $Collator->cmp($a, $b); # returns 1, 0, or -1. NNoottee:: Strings in @not_sorted, $a and $b are interpreted according to Perl's Unicode support. See perlunicode, perluniintro, perlunitut, perlunifaq, utf8. Otherwise you can use "preprocess" or should decode them before. ...