in reply to IF condition that doesnt work
Not part of your problem but a good to know, tr can take an entire list of characters and transliterate them to a second list, so instead of doing one for each letter you can do something like:
Less typing and probably quite a bit more efficient.$vNombre=~ tr/αιν/aei/;
|
|---|