Very interesting. Here's how it works.
$_="this super-code example shows clearly how encoded text is, siince a normal perl-codeblock should never-ever-ever contain it's method embedded within -its- decoder as is. right, you're wrong because my obstuf exempleifies it. honest programs should a) envoke and b-work prescripted though never through it."; = Each word's length is how he encodes "just another perl hacker". Somet +imes he mis-spells the words to get the right length: for example sii +nce. =cut my@a=map{(/\.|,/)?0:length}(m;([-\w']+|(?:,|\.));g); = the regex matches each word, so each word is passed to map. Periods an +d commas return 0, which is the null character, thus not taking up an +y space. He does this so he can punctuate his string. As I said ear +lier, the length of each word is returned. =cut print chr hex sprintf('%x'x2,$$,shift@a)while($$=shift@a); = Here he goes through @a by twos, performing sprintf ('%x%x',$$, shift @a) each time through. The result is a hexadecimal number for each word, +formed by the word's length. Then he uses hex to turn that hex numbe +r into decimal, and chr to turn it into it's ascii equivalent. =cut

If I have made any mistakes, please inform me; I'm new to obfuscated code myself, but I liked this very much--good job iamcal.

Update: Good job tachyon. That's what I was trying to say, but I think you expressed it so much more clearly than me.

The 15 year old, freshman programmer,
Stephen Rawls


In reply to Re: Not so cryptic by srawls
in thread Not so cryptic by iamcal

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.