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

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?

Replies are listed 'Best First'.
Re^5: Examples of PAR on windows
by syphilis (Archbishop) on Feb 27, 2008 at 07:22 UTC
    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 had PAR, but I didn't have PAR Packager, so I had to dl Packager via PPM. I was able to get it to work now, thanks a lot!
Re^5: Examples of PAR on windows
by lwicks (Friar) on Feb 27, 2008 at 12:49 UTC
    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!

      I too would be interested in a noob level tutorial on this

      Is it a question of "How to install PAR" ? ... or "How to use PAR" ?

      PAR installs just like any other module and you can access its documentation via 'perldoc PAR' (just as with any other module). If you want to turn a perl script into an executable, then you need to use PAR's 'pp' utility - the usage of which is documented in 'perldoc pp'.

      For mine, that documentation is as good as any tutorial - but if there are points in there that you cannot understand, or there are things "that don't work as advertised", then please ask about those specific issues either here, or on the PAR mailing list.

      I know from personal experience that documentation is not always as easy to understand as the initiated believe.

      Cheers,
      Rob