This is sort of a coming of age thing for me. I decided I wouldn't call myself a perl hacker until I did one of these. I hope this one bends your mind a little bit.

It comes in two flavours, one an interesting variant on the other. The variant might be machine-specific to me, though.

I just discovered the second one may run some peoples boxes a bit hard. Run this one first:

$a='Jp]U#[ S/)T ^(A]hN[ +;g or/ O/^T\{H\<E \iR^0};p i\Pg\E#s Rs0 Lsl H\;;sen#A; sC# /K] >E[ eRs w#/ nt/ ';$a =~s / | |\n//g;@b =split("", $a); $m=ord$b[6 ];foreach $i(0..$#b) {$b[ $c]=$i<63? '':lc($b [$c]);$c=( $c+= 103)%$m;$_ .=$b[ $c] ;}; eval$_; print"\n"x 3;;;; ;;; $_= join('' ,@b) ;s / (an)|| |(p)| (ha)/ ucfirst ($+) /gex ;print "J$_" ;;;;;

Then save your work and run this one. Works under ActiveState Perl 5.6.0 and 5.2.2 (Thanks BooK). I take no responsibility for what happens to your machine. It should print "This JAPH has run out of memory".

print "This \n\n\n"; $a='Jp]U#[ S/)T ^(A]hN[ +;g or/ O/^T\{H\<E \iR^0};p i\Pg\E#s Rs0 Lsl H\;;sen#A; sC# /K] >E[ eRs w#/ nt/ ';$a =~s / | |\n//g;@b =split("", $a); $m=ord$b[6 ];foreach $i(0..$#b) {$b[ $c]=$i<63? '':lc($b [$c]);$c=( $c+= 103)%$m;$_ .=$b[ $c] ;}; eval$_; print"\n"x 3;;;; ;;; $_= join('' ,@b) ;;;s /(an) |(p)| (ha)/ ucfirst ($+) /ge; print "has" ." "; ;;print "run \b"; print "J".. $_;;;

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Two weeks ago I couldn't spell P3r1 H4ck3r, now I is one. by jepri

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.