The Ancient Romans never expected to be Perl Hackers. That's all the hint you get on this one.

I would really enjoy hearing from anyone who unwinds this. Hopefully if you do unravel it you'll understand the inspiration behind this obfu.

Here it is:

$a=ord$/;;;for(483315457,3759149058,3883269635,3794874370,1647390720, 1644171264,1912787457,4277106435,4100403459,608567554,608436482){$c=0 ;for(split//,substr unpack("B*",pack"L*",$_),6){$o[$c]+=(ord d,ord 2, $a,$a,$a,$a,$a/2,$b=$a-9,$b,$b,$b)[$i]if$_;$c++}$i++}print chr for@o

Enjoy! :)

Update: Kudos to Aristotle for figuring it out.

Now that it's been unraveled here's the spoiler.
Each "long int" represents a bitmap. Each bitmap is the same width as "Just another Perl Hacker.", so one bit corresponds to one letter. However, there are about eleven rows of bitmaps. The first row corresponds to Roman numeral 'C' (100). The second row corresponds to 'L' (50), then a few rows of 'X' (10), one of 'V' (five), and a few of 'I'. Add the rows up by vertical column within the bitmap, assigning proper value to each row, and you get a number that corresponds to an ascii value in each column.

Anything so straightforward probably shouldn't be an obfu, but I thought the method of storing the roman numerals in sequences of bits carried with it some intregue.

That's it for the spoiler. Back to work...


Dave


"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

In reply to Roman Obfu by davido

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.