Here is the code moderately de-obfuscated (not necessarily Perl Best Practices compliant):

use strict; use warnings; ## Some characters to work with my $data = "Yoo*se\x7F*cd*Mcpk+"; ## Put 17 spaces in the default variable $_ = " " x 17 ; ## Force flush after every print $| = 1; ## Set record-separator to carriage return not newline $\ = "\r"; ## Other notes on the obfuscated code ## $^F is equal to 2 ## replaced => with comma ## ord($/ ^ $character) "decodes" the characters from $data { my $index = int( rand( 16)); my $character = substr( $data, $index, 1); my $decimal = ord($/ ^ $character); ## convert $decimal to its ascii equivalent and ## insert it into the string held in $_ vec($_ , 1 + $index , 8)= $decimal; ## print the contents of $_ with a delay = 1/(1+tr/ //c) print &&select(undef,undef,undef,1/(1+tr/ //c)); ## Rerun block if there are more than 4 spaces left redo if tr/ // > 4 }

In reply to Re: Pls help me understand the obfuscated code by moklevat
in thread Pls help me understand the obfuscated code by pysome

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.