It doesn't work on a Mac. You have the equal and opposite problem to the one I had with When a PERL Hacker Retires.

BTW I was able to see what it's supposed to do by copying the output into BBEdit and replacing all the "funny" characters with line feeds. Cool work!

Oh and here's a fix that certainly works on the Mac and I'm pretty sure is platform-indepedent:

#! perl -w %a=(N,ord("\n"),X,32,P,43, M,45,F,47 ,B,92,L,95,U ,124,D,68, G,71);undef $/;@_= split/\s+/ ,<DATA>; chomp;$n= join '', @_;@_=split '',$n; foreach (@_) {print chr( $a{$_});} __DATA__ NXXX XXMPMXXX UXXXXX XXXXXX XUXU XXXXXX XXUB XXXXU XXUX XXX XXU NX XXXX XUUU FMPMX XFBX UFB FBMPM UFB FFU F X X UFF FUF UXXUF BFB XFU F F FUF NXX XX XL UBF BXU XXXB FBUX UBF XUX UXUBFUXXXUXBFU XUX XUX U BFBBUBBF U XXXX XXX X NXXX X XXXX XFX NXX XXXX XXXX XXXXX XXXXX XXXX XXXXX XXXXXXN

In reply to Re: JAPV by Elliott
in thread JAPV by DamnDirtyApe

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.