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 :(
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.