Pretty nice. Not terrifically obfuscated, except for the middle bit where you do something kinda backwards. That caught me for a sec until I realized what was actually happening. Deconstruction follows (spoiler).

while (<DATA>) { s/\r?\n?//g; # remove newlines $a.=$_; } # $a now contains the whole of DATA in one line for (split(/;/,$a)) { # split into groups $b=0; for ( split (/,/) ) { # split into singles if (!$b++) { # first letter # Store the first number of the # group as a letter $c = chr ( b($_) ); } else { # And scatter it wherever it needs # to appear in the mystery string @d[b($_)] = $c; } } } print @d; sub b { # convert from binary to decimal (littleendian) $a=$b=0; for(split(//,reverse$_[0])) { if($_) { $a+=2**$b; } $b++; } return $a; } #"The unwritten geek credo states that originality and strangeness are #good, and that blind conformity and stupidity are unforgivable." # http://samsara.circus.com/~omni/geek.html __END__ 0100000,0000100,0001100,0010001;1100001,0000101,0010011;1100011,001010 0;1100101,0001010,0001110,0010110;1101000,0001001,0010010;1101010,0000 000;1101011,0010101;1101100,0010000;1101110,0000110;1101111,0000111;11 10000,0001101;1110010,0001011,0001111,0010111;1110011,0000010;1110100, 0000011,0001000;1110101,0000001;

So, for instance, the first group of numbers is 32, 4, 12, 17. Thus a space (chr(32)) appears at positions 4, 12, and 17. I was a little disappointed that you didn't capitalize J or P, and that you didn't put a newline at the end. I'm always a little more impressed when little details like that are covered.

LAI

__END__

In reply to Deconstruction: Geek Creedo JAPH by LAI
in thread Geek Creedo JAPH by cciulla

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.