Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: PAR: pp No Perl script found in input (upgrade)

by Anonymous Monk
on Feb 27, 2013 at 09:36 UTC ( #1020834=note: print w/ replies, xml ) Need Help??


in reply to PAR: pp No Perl script found in input

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


Comment on Re: PAR: pp No Perl script found in input (upgrade)
Download Code
Re^2: PAR: pp No Perl script found in input (upgrade)
by mkmal (Novice) on Feb 27, 2013 at 20:17 UTC
    Greetings,
    I am using the same version you are, I just downloaded it last week.

    pp --version
    PAR Packager, version 1.014 (PAR version 1.007)

    Since pp actually works if I use it in \Perl\site\bin I doubt it an installation issue unless some PATH did not get updated somehow.

    thanks

      Since pp actually works if I use it in \Perl\site\bin I doubt it an installation issue unless some PATH did not get updated somehow.

      You can doubt it, but I am telling you, your installation is messed up

        OK, attempted to re-install, cpan says all is well and I still have the same problem, now what?

        cpan install pp
        Set up gcc environment - 3.4.5 (mingw-vista special r3)
        CPAN: Term::ANSIColor loaded ok (v3.02)
        CPAN: Storable loaded ok (v2.34)
        Reading 'C:\Perl\cpan\Metadata'
        Database was generated on Wed, 27 Feb 2013 12:08:03 GMT
        CPAN: Module::CoreList loaded ok (v2.77)
        pp is up to date (0.992).

        pp -o hello.exe hello.pl
        No Perl script found in input

        pp still works fine if I move the Perl script into \Perl\site\lib and run the command from there.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-07-04 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls