i've been inspired by
this code by
LanX and
mtve (read: i've stolen their golfs as the base..)
to produce something for you all, which intent is
clear from
BEGIN where the
root of every (
binary?)
tree sleeps...
not a golf but a wish!
#
## ##!/env/perl
# #
$}
;$|
++;
$p;$x;
#\*/#
foreach
$b( split
'\+','+0+77+
-8+13+0+7+-57
//\\//\\//\\/
+35+5+10+-9+10+1
+-7+-12+18+-51+ 33
//\\//\\//\\//\\//\\
+13+-10+-36+40+-7+15+0+
9+-57+46+-9+18+-55+57+-20
//\\//\\//\\//\\//\\//\\//\\
+-4+17+-50+18+-2+1+5+-44+22+0+0+
52+-5+-47+57+-10+6+-53+33+11+0+-44
//\\//\\//\\//\\//\\//\\//\\//\\//\\
+48+-11+13+-6+1+2+-1+-3+8+-51+38+12+-3+
-2+-45+36+5+10+-16+6+7+5+-9+9+-2+-51+0+10
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
+-32+0'){system$};eval 'printf qq(%22s%s\n), $_
%=21,$_=4**$_,y/0/^/c,s/0/$b<0?o:O/eeee for 1..23';
print $y.= chr($x += $p);$p = $b; sleep 1 } print chr(
$x
+=
$p
) ;
# BEGIN{$}=$^O eq'Linux'?'clear':'cls';$^W=0}
BEGIN{$}=$^O eq'MSWin32'?'cls':'clear';$^W=0}
Justin Case there is
gift under the tree..
L*
update: changed the BEGIN block to be more inclusive..
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
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.