Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

A Simple JAPH

by Athanasius (Canon)
on May 07, 2012 at 16:02 UTC ( #969289=obfuscated: print w/ replies, xml ) Need Help??

My first effort:

$_='penflillggplmhlllpkolhmhgiokmpmhkegopckdlmlckemhge'; tr/g-p/0-9/;my@x=map{-84+hex$_}$_=~/[A-F0-9]{2}/gi;my@y= shift@x;push@y,$_+$y[-1]for@x;print join'',map{chr$_}@y;
“ ill-favoured thing, sir, but mine own.” —As You Like It (Act 5, Scene 4)


Athanasius <°(((><contra mundum

Comment on A Simple JAPH
Download Code
Replies are listed 'Best First'.
Re: A Simple JAPH
by ambrus (Abbot) on May 07, 2012 at 21:09 UTC

    This obfu is nice because it's hard to see at first what it will print. Allow me a few minor comments though. (I'll use spoiler tags to not spoil anything for readers who hasn't decoded the obfu yet.)

    Let me list some specific good points of this obfu too.

      Wow! Thank-you ambrus for such detailed feedback.

      Taking (most of) your comments on board, the JAPH now looks like this:

      $_='penflillggplmhlllpkolhmhgiokmpmhkegopckdlmlck' .'emhgeji';y,g-p,0-9,;my@x=map{-84+hex}m;\w.;g;my@ y=shift@x;push@y,$_+$y[-1]for@x;print(map{chr}@y);

      I should have mentioned an additional requirement I imposed on myself: the code runs clean under use strict; and use warnings;

      This is fun!


      Athanasius <°(((><contra mundum

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://969289]
Approved by tobyink
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2015-11-27 03:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (717 votes), past polls