use strict;use subs qw(r p j u k);my@M=split'' ," REKCAH LREP REHTONA TSUJ";my@s;for my$y(0.. $#M){for(0..79){$s[$y][$_]=" "}}my@m=@M;{push@ {$s[0]},k\@m;@m=@M if$#m<0;for(0,0){@s=r@s;u\@ {$s[$_]};@s=r@s;k\@{$s[$_]};u\@{$s[$#s-$_]};@s =r@s;my$k=k\@{$s[$#s-$_]};@s=r@s;$s[$_][j@{$s[ $_]}]=$k}p@s;redo}sub r{my@r;for my$y(0..$#_){ for my$x(0..j(@{$_[$y]})){$r[$x][$y]=$_[$y][$x ]}}@r}sub p{system'cls';for(@_){print for(@$_) }}sub u{pop@{$_[0]};unshift@{$_[0]}," "}sub j{ $#_}sub k{shift@{$_[0]}}BEGIN{$|=1}
Note1: If you're on *nix I guess you need to change 'cls' to the right clear screen command.
Note2: If you leave it running for a while it'll eventually die.
Note3: It'll complain if warnings are turned on

PS: Don't know if the 'use subs' ruined some fun, but I guess that the main thing is figuring out how it works, not trying to find hidden code.
Update: As jdalbec noted, setting on autoflush gives betters results, so I added that BEGIN "hack" in order to maintain the "metric" of the code.


acid06
perl -e "print pack('h*', 16369646), scalar reverse $="

In reply to Rusty? by acid06

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.