Hello Monks,
I'm working on script in which I have to sort some words according to the international phonetic alphabet and not ASCII. So I tried to use Sort:ArbBiLex, in which one can define the sorting order. The problem is: It doesn't work. The question is: Can you tell me what's wrong in the definition? The code is below:
use Sort::ArbBiLex (
'puma_sort'=>
"ʌ Ʌ
a A
b B
c C
d D
ɖ Ɖ
e E
f F
g G
h H
i I
j J
k K
l L
m M
n N
ŋ Ŋ
o O
p P
r R
s S
t T
ʈ Ʈ
u U
v V
w W
y Y
z Z"
);
@foo = puma_sort(@foo);
PS: The chracters that don't look right are unicode characters. I don't know why they're not displayed right here but normally there OK, so they're not the problem in the code.
Thanks a lot!