Thanks for the tips. I'll definately keep these in mind for now on. Here is what it looks like using your suggestions:
#!/usr/bin/perl
@rof=qw(4 13 -1 9);@rof=reverse(@rof);
$dro = 'A' ; sub Z{ eval $_[0] };$Y=';
for@rof ( (++ord$dro +_$ )rhc ) tnirp;
'; $Y; sub X { return reverse $_[0] };
$Y=~s s\(sm4vgsggsi;$Y=~s s\)s(sggsi ;
$rof;$Y=~s(m4vg))\))g;$Y=X($Y); Z($Y);
I tried a few more ideas in this last version:
#!/usr/bin/perl
;@rof=qw(4 13 -1 9);@rof=reverse(@rof);
;sub gg{eval$_[0]};$dro='A';$q=''."".';
;for@rof((++ord$dro+_$)rhc)tnirp;(q$)g;
;';$q||=$gg;sub g{return reverse$_[0]};
;$q=~s)\()\"\')g;$s||=$q;$s=~s~\)~\(~g;
;$g=$s;$g=~s^\"\'^\)^g;$g=g($g);gg($g);
And now I shall retire this obfuscation and start working on my next one...
--jake
"This space intentionally left blank" -Zork
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.