D:\perl\work>perl -e "$_='MA()A))Y#4';tr/MA()Y#4/1234567/;print" 1234244567
Cheers,
Ovid
Update: Since other monks appear to not have a problem. Could you post a full code snippet so we can see what you're doing? Perhaps the tr/// is occurring inside of a loop where $_ is dynamically scoped?
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re: Transilteration problem
by Ovid
in thread Transilteration problem
by blinky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |