|
|
| more useful options | |
| PerlMonks |
Chomped JAPHby davido (Bishop) |
| on Aug 14, 2003 at 20:12 UTC ( #283993=obfuscated: print w/ replies, xml ) | Need Help?? |
|
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'
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! "If I had my life to do over again, I'd be a plumber." -- Albert Einstein
Back to
Obfuscated Code
|
|
||||||||||||||||||||||