Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How does this "JAPH" work?

by talexb (Chancellor)
on Sep 06, 2017 at 17:41 UTC ( [id://1198782]=note: print w/replies, xml ) Need Help??


in reply to How does this "JAPH" work?

$_ = "wftedskaebjgdpjgidbsmnjgc"; tr/a-z/oh, turtleneck Phrase Jar!/; print; abcdefghijklmnopqrstuvwxyz | | | +- J +------------------ u ..

I've expanded the alphabet (a-z) and aligned it with the phrase it's being replaced with, to show you how the first two characters map. The first w maps to the J in Jar, the next f maps to the u in 'turtleneck', and so forth. Simple! :)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1198782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found