http://www.perlmonks.org?node_id=283993

Here's my second post of a "JAPH". Go easy on me. ;) If you figure it out post a reply, and definately if you have suggestions on how it could be improved upon, I'd love to hear. This continues to be a learning experience for me.

For reasons obvious to those who have figured out how this tidbit works, it doesn't fit into the customary four lines of a JAPH. But it will still execute from the shell prompt as perl -e 'pasted code'
Fun huh? It was at least as difficult to implement as my morse code JAPH, posted a few days ago, and takes considerably more time to execute as there is a lot more going on in the creation of the text. But efficiency isn't the goal of a JAPH, now is it? ;)

If you cut and paste it, be sure to turn it into a one-liner. Any whitespace, including EOL (\n) is going to be significant, and adding EOL's to the literal would probably break it.

I've tested it under Perl 5.6.1 on a Linux-powered Sharp Zaurus PDA, on my Win98 machine with Perl 5.8.0, and on my ISP's Unix based system with Perl 5.8.0.

Here's the code. Enjoy!


$d=";;;;;;;;;;;;;;;::::::::::::::::::::::::::::::::::::::::::::::::::: +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::::::::::::::::::::::::::::: +:::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::::::::::::::::::: +::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::::::::::::::::::::::::::::::::::: +::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::::::::::::::: +::::::::::::::::::::::::::::::::;:::::::::::::::::::::::::::::::::::: +:::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::::::::::::::: +:::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::::::::::::::::::::::::::::::::: +;:::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::::::::::::::::::::::::::::::: +::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;";wh +ile (m@(["$_"])\1*$@){$/=$&;print chr((chomp)+(unpack"c",$")-1)}print +"\n"
"If I had my life to do over again, I'd be a plumber." -- Albert Einstein