Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 use Data::Dump; dd { ARGV =>\@ARGV, INC =>\@INC, PPENV => { map {$_=>$ENV{$_} } grep /par|perl/i, keys%ENV }, }; $ pp -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 \\", 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

Replies are listed 'Best First'.
Re^2: PAR: pp No Perl script found in input (upgrade)
by mkmal (Novice) on Feb 27, 2013 at 20:17 UTC
    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.


      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
        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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020834]
[Corion]: Lo and behold, running a program with the correct input files yields the correct (and expected) output. Yay me.
[1nickt]: Got a MacBook and am expected to develop directly on it, ironic given the recent thread about that.
[marto]: Corion, some not too serious issues with the kids, hopefully, other than that just dealing with commuting by car again in the winter, not much fun so far, and there's no real 'bad' weather yet :)
[marto]: 1nickt, glad to hear it, I'm sure you'll bring improvements to their stack in due course ;)
[1nickt]: Just trying to adjust to a new culture. Better doc than I am used to , but quite a bit more Agiley meta-bullshit; at least half a dozen meetings a week, strict "sprint" schedule etc. I'll adjust. And I hope to just switch off after the "scrum" each day at
[1nickt]: ... the end of the afternoon. marto How are you, snowed in? Mum and Dad expecting snow today in Surrey. (Have 5" on the ground here in NJ. And my son's high school in SOCal closed until after Xmas due to fires.)
[Corion]: 1nickt: In a sense the meta-bullshit might even be beneficial to you as you get to hear the cow-orkers talk (or not talk) about the issues you perceive. I think Agile is mostly about the meta ;)
[Corion]: 1nickt: On Sunday maybe 10cm of snow fell, and the airport closed, and the trains stopped running etc :) It always comes as a surprise that snow falls here during the winter...
[marto]: 1nickt, no snow, just some ice on the roads and the usual idiocy associated with humans and driving in less than ideal conditions

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2017-12-11 11:48 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (289 votes). Check out past polls.