Hi
This is the setup that I'm using on Win32:
- Activestate Perl from activestate.com
- "bribes" repository for PPM
- Install PAR and PAR-Packer from Bribes
To add the "bribes" repository:
- Launch PPM
- Edit / Preferences
- Tab "Repositories"
- Add:
- Name: bribes
- URL: http://www.bribes.org/perl/ppm/package.lst
- Click ADD
Now you'll be able to install PAR and PAR-Packer from Bribes, which works like a charm.
You will just launch the following:
c:\perl\site\bin\pp.bat -o file.exe file.pl
or
c:\perl\site\bin\pp.bat --gui -o file.exe file.pl
depending on whether it's a console or Tk application.
I have this setup on three windows machines and so far it seems _the_ best option.
I've tried to use strawberry/vanilla perl as well, and also activestate without the "bribes" repository, but I wasn't able to get both of these running:
The aforementioned setup instead gives a workable installation where you can "compile" EXE using standard Perl modules, and even Tk.
If you "care" about crypting your perl files, you might want to have a look at
PAR::Filter::Crypto but I haven't actually tested it yet :(