Unicode-Collate-Locale

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

Unicode-Collate-Locale

Unicode::Collate::Locale(3p) Perl Programmers Reference Guide # Unicode::Collate::Locale(3p) Perl Programmers Reference Guide NNAAMMEE # Unicode::Collate::Locale - Linguistic tailoring for DUCET via Unicode::Collate SSYYNNOOPPSSIISS # use Unicode::Collate::Locale; #construct $Collator = Unicode::Collate::Locale-> new(locale => $locale_name, %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" (cf. ...