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
-
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.
|