How did you install PAR::Packer?

Whatever version of PAR PAR::Packer you're using you should upgrade -- it works for me

$ cat test.pl use Data::Dump; dd { ARGV =>\@ARGV, INC =>\@INC, PPENV => { map {$_=>$ENV{$_} } grep /par|perl/i, keys%ENV }, }; $ pp test.pl -o shabba.exe $ shabba.exe { ARGV => [], INC => [ "...par..cache-acab98b7b1961d92a7500944d1d5827b00b29169\\ +inc\\lib", "...par..cache-acab98b7b1961d92a7500944d1d5827b00b29169\\ +inc", sub { ... }, sub { ... }, ], PPENV => { PAR_0 => "...par..cache-acab98b7b1961d92a750094 +4d1d5827b00b29169 \\98ca9bd6.pl", PAR_ARGC => 1, PAR_ARGV_0 => "shabba.exe", PAR_INITIALIZED => 2, PAR_PROGNAME => "...shabba.exe", PAR_SPAWNED => 1, PAR_TEMP => "...par..cache-acab98b7b1961d92a750094 +4d1d5827b00b29169 ", }, } $ pp --version PAR Packager, version 1.014 (PAR version 1.007) ...

Also, you should use the -x option


In reply to Re: PAR: pp No Perl script found in input (upgrade) by Anonymous Monk
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.