in reply to Re: Examples of PAR on windows
in thread Examples of PAR on windows

Yes I did read them, but I tried doing the examples and they didn't work for me. I tried doing pp -o out.exe -e 'print "Hi!"' on the command line in windows, and it said pp is not recognized as a command, I don't get how you are supposed to use pp.

Replies are listed 'Best First'.
Re^3: Examples of PAR on windows
by Anonymous Monk on Feb 27, 2008 at 04:55 UTC
      I did install it. I can see it in the ppm. I notice that there is a % in front of all the commands. I think they are assuming everyone is on linux. Should I be able to do those commands on windows?
        I did install it. I can see it in ppm.

        The file 'pp.bat' should therefore be in your perl/bin folder. Is it there ?
        If so, then you just need to add to your perl/bin folder to the path by running:
        set PATH=C:\perl\bin;%PATH%
        (I'm assuming that your perl is in 'C:/perl/bin' - otherwise modify accordingly.)

        If, otoh, 'pp.bat' is not in your perl/bin folder, then that's the problem ... the installation did not proceed correctly. Try installing it again (you might first have to run 'ppm remove PAR'), and if that doesn't work, tell us what your 'perl -v' outputs and also which ppm repository is providing this troublesome PAR package.

        Cheers,
        Rob
        I too would be interested in a noob level tutorial on this. I have been using activestate and also tried strawberry and was unable to successfuly package a Perl script. :( perl2exe works of course, but doing it via PAR would be my preferred option.

        Kia Kaha, Kia Toa, Kia Manawanui!
        Be Strong, Be Brave, Be perservering!