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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |