in reply to Transilteration problem
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.
|
|---|