My first obfuscation (other than my summer projects, bwahaha), this code is an end-of-summer-internship tribute to my employer, Texas Instruments. I love having a job where I can play with Perl :) Runs with strict, but sorry, no -w. Tested with 5.6 and 5.004 on Solaris and 5.6 on NT.
#!/usr/bin/perl
undef $/;$\=
$:;$\=~s/-//
; $_ =<DATA>
;chomp;s/\s+
//gx;map{$a=$2;{$a.=/^[<`~]/x?/\w/x
&&($`eq'<'?'*':$`eq'~'?"\124": $`eq
'`'?'I':0)x hex$&:/^[^TI*]/x?$"x hex
$&:/./? substr ($_,0,1):0;$_=$';$_ ne
$,? redo:last ;}print $a;}(split(/\|/)) __DATA__
B<C|B*A*B`3|B*A*AI2I|B*A*A`3|B*A<6T9T<7|B*FT2`5
2T7*|B*9~62I3I2~63*|B*8T7I3I7T4*|<C7~62
I3I2~66*|1*F6T2I3I2TD*|2*F4T2`5
2TE*|5<2 8**4T9TE*|8*4*4
*1~BD* |A<28*F5*|F7
*E*|F9*9*|FB
*6*|FC*4*|
FD*3*|
FE**
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.