Another option is to have a look at perl2exe from IndigoStar. It will let you compile the perl interpreter, perl script and any modules it uses into one binary executeable.

However, if you want to distribute it on Unix and Windows you will need to make seperate binary files with it. Also I have found that:
It runs slower than running your plain text script the regular way
Your files will not be less than around 800 regardless of how small your original script was

It will do what you want it to do, and it's a nice tool to have and has it's place.

Another tool is ActiveState's Dev Kit However this is Windows only. It allows you to do the same as above but without compiling the perl interpreter too - so the files are smaller and run faster, but require perl installed on the user's computer

Having said all that, is it really necessary to make your code unreadable? Look at these PerlMonks links for more good advice: How can I hide the source for my Perl program?
Protecting Perl Code
Writing Highly Obfuscated Code in Perl by marko

In reply to Re: Obfuscating Perl (on purpose!) by $code or die
in thread Obfuscating Perl (on purpose!) by mcai7et2

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.