Maybe you've heard of the PDKcompile script by Jenda Krynicky (see http://jenda.krynicky.cz/#PDKcompile). I took that script and hacked it into a working version for PAR's pp command.
PARcompile is a script that is basically a wrapper around pp, and allows you to put the parameters for pp into an INI-like POD section in your perlscript. That way you don't have to enter the complete commandline every time, and it also keeps track of build numbers...
Since PDKcompile was written for the Win32 version of PerlApp, and I changed as little code as possible, it might only work for Windows. However, if you run into problems running it on other platforms, please tell me, I will try to modify it so it works in all situations.
One known issue: you can compile PARcompile itself with PARcompile, but you can't transform other scripts into executables with the compiled version, when the other scripts need modules not used by PARcompile. This is only logical since the Perl interpreter used by the PARcompile executable doesn't know about modules installed in pp's Perl environment...(for those who are still with me...)
Anyhow, the code is attached.
Kind regards,
Jouke
PARcompile.pl
Description: Perl program
