blinky has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to translate a string containing special characters such as %, @, $, etc. When I try to translate (, ) and # it doesn't work. Any ideas? I tried escaping them, but it didn't work either.
$_ = 'MA()A))Y#4';Instead of printing 1234244567 I get 12()2))5#7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Transilteration problem
by Albannach (Monsignor) on Dec 07, 2000 at 01:38 UTC | |
|
Re: Transilteration problem
by blinky (Initiate) on Dec 07, 2000 at 02:44 UTC | |
|
(Ovid) Re: Transilteration problem
by Ovid (Cardinal) on Dec 07, 2000 at 01:42 UTC | |
|
Re: Transilteration problem
by AgentM (Curate) on Dec 07, 2000 at 01:42 UTC | |
|
Re: Transilteration problem
by decnartne (Beadle) on Dec 07, 2000 at 01:52 UTC |