Cute! Real cute ++
Swapping print"\ec" with system'cls' makes it work on win32.
That meant saving a char somewhere to maintain the formatting, so chr(96) became chr+96, and a little shuffling gives
$a=q`$a="\$a=q".($t=chr+96).$a.$t.';$a=~s#\s##g;eval$a#';$_="73x051005
+05
07070403040320x080407030103060303030203040320x080406030303050303030203
+04
0320x080405110407041020x08040404050403030803040320x0203030403040704020
+30
803040320x03080403090302030803040320x73";@z=map{$d=0;s#..#$d=!$d;($d||
+0)
x$&#eg;$_=[split//]}split/x/;{$b=reverse$a;system'cls';$c=0;map{for(@$
+_)
{print$_?(chop$b):$"}print$/;$_=[@$_[0],@$_[70],@$_[1..69],@$_[71]];}@
+z;
select$q,$q,$q,.05;redo}`;$a=~s#\s##g;eval$a##########################
+##
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.