Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Translating letters

by pvaldes (Chaplain)
on Apr 16, 2012 at 12:34 UTC ( #965300=note: print w/replies, xml ) Need Help??

in reply to Translating letters

Being in mind that there are more than ten letters you can't use really tr for this idea because tr only changes a char by another

What I want to say is that you can't use tr to change i.e "f" by "23"

Although nothing is wrong with tr, if your problem is more complex that the example that you provide you probably should think in a hash for this

Replies are listed 'Best First'.
Re^2: Translating letters
by pvaldes (Chaplain) on Apr 16, 2012 at 14:50 UTC

    mmmh... you ask about traslating numbers to letters but I realize just now that every people are doing exactly the opposite, showing how to traslate letters to numbers... XD.

    tr is the right tool for this, then

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965300]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-06-17 22:41 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.