Hi,

I have some problems with transliteration from Cyrillic text into
Latin.
I my mind, i have two ways to solve the problem:
1) using a tr/// operator, but it not the best way i think, because in
Russian it might be one symbol and in transit it would be two
symbols.
2) using two arrays, something like this:
    my @cstring=qw(а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш
щ ъ ы ь э ю я);
    my @lstring=qw(a b v g d e yo g z i y k l m n o p r s t u f x c ch
sh shch ' yi ' e yu ya);

and then substitute each symbol. And here i have  a problem.
Ohhh, i have a string like this - $string = "Попов П П", and i need to
convert it to $string = "Popov_PP". Can anybody help me with this?

Reply via email to