I am using ActivePerl on Windows 7. I installed PAR and attempted to convert a simple Perl script to a .exe using pp.

Just wanted to point a few things so that others don't get confused. First, unless you're using an older version of PAR, you will need to install PAR::Packer in order to get the the pp utility. (From PAR::Packer, "Since version 0.97 of PAR, this module and its related tools such as pp have been stripped from the PAR distribution and are now distributed as the PAR-Packer distribution so that PAR users need not necessarily have a C compiler.")

Secondly, ActivePerl can't install PAR::Packer directly from CPAN without some additional steps. For 32-bit ActivePerl, you'll need to install MinGW and dmake from ActiveState's repository. For users of 64-bit ActivePerl, there's more challenges with the compiler situation, but I'm not familiar with all the details.

As for the problem that you're hitting, I agree with 7stud that it definitely looks like you're not using the correct syntax.


In reply to Re: PAR: pp No Perl script found in input by dasgar
in thread PAR: pp No Perl script found in input by mkmal

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.