What did you try with pp_autolink? Installation is via the standard process using tools like cpan or cpanm. The pp_autolink script will be installed in one of the bin dirs on your path. For a strawberry perl installed under C:\Strawberry it will be under C:\Strawberry\perl\site\bin. It can also be found using where pp_autolink at the cmd prompt.

In regards to the file sizes, extrapolation from a single data point is prone to a high degree of uncertainty.

A better test would be to pack three or more executables, each with increasing complexity and dependencies. I suspect you will the difference is fixed at 4MB, as opposed to a three to one ratio.

There is also the -z flag with pp to increase the compression level. The default is 6, and setting it to 9 will maximise the compression level and produce smaller files (see https://metacpan.org/pod/pp#-z,-compress=NUMBER). It makes almost no difference with a simple print 'hello' script, but will help with more complex set ups.


In reply to Re^10: I prefer not to run the latest version of Perl because: by swl
in thread I prefer not to run the latest version of Perl because: by hippo

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.