Okay, so I'm one of those guys who always skips ahead and reads the last chapter
before I've gotten very far into the book!
This is "Book 9", the last chapter of the
"Tao of Programming" series. This
time I decided to do an obfu instead of "perl poetry", as I'm still sharpening my
skills in this area as well. Hopefully I've gotten a little better at making these
things less readable. ;)
update: corrected windows problem, with thanks to
BrowserUk
#!/usr/bin/perl
{
package Tao::Book::9;
# The Epilogue
}
$_='n j h f d c b b a';sub ::x(){${2**0-0**0}};sub ::s(){$_=qq]$1]};
sub ::'&'{$_[0]}sub :{*$=*g;*<=*a;@$= split, 'tao' }; sub ::1{*>=*_;
&::::::};sub ::2{print`clear`;}sub ::3{ system'cls'}sub ';' {\&x; $a
=&s;$b=q;();}sub yang {*#=*d;qq{ 11| 15| 22| 34| 40| 44| 48| 5| 51|}
.qq{"35|"58|.57|:33|M16|P23|T1|T36|a17|a28|a54|a8|e10|e14|e20|e31|e}
.qq{39|e53|e56|f41|g26|h13|h2|i37|k9|l52|m29|m30|m38|o25|o42|o46|o5}
.qq{0|p7|r21|r24|r27|r32|r43|s18|s4|s6|t12|t19|t49|u3|u47|v55|y45};}
sub ::::::{$% = join'',a..z;s/\n//sg;s/, /,\n/g; m:;(.*?);:s; *+=*b;
s();eval $_;exec x();}sub yin{join'',($/x(2),(map{$_->[0]}sort{$a->[
1]<=>$b->[1]}map{s/(.)(\d+)//g;[$1,$2]}split/\|/,$_[0]),$/x(3));}sub
a{($%,$@)=($@,$%)};sub ::::::::{$a=q{$b-> (); 0, ((((((($>=$<))), ((
((((((((((tr/()\n/x/c)))), (((((((((((((((( s(x)[]g)))), (((((((((((
tr/()/X>/),(((((($< = $>)))))), (((((((((((((@>=map{index$k,$_}( @$,
reverse@$)),((((@%=split$/,$<,((($<= $>))))))), ((((((((((((((((((((
(((shift@%))))))))), (((((((((((((((((((((@% = map{($"x(shift@_)).$_
.$/}@%))))))))), (((((((((((((((((((($@=("@{%}"))))))))))))), ((((((
( ( (((((((((($@=~y(X>)[<X]))))) )))))) ))))), ((( (((((((((((((($%=
"@{%}"))))))))))))))))))), (((((((((((($g=::{($^O=~/Win32/)+2}))))))
)))))))))))))), ((((((((((($g=&$g))))))))))))) )))))))))), (((((((((
$<=::{&$g }))))))))))))))))))))))), ((((($+=yin(yang( ))))))),(( )))
))))))))))), (((((( )))))),(()))))))))))), ((((())))))))))))))))), (
(((( )))) ))))))))), ((( ))) ))));$i=::{$<->(a());print$%,$+}; sleep
&$i while($/);};s;$_;$a;; print '';};*%=*k;::{ &::::::::-> ()}-> ();
[TINPC@perlcabal.com shh]$
su real
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.