On Fri, May 31, 2019 at 6:05 AM Daniel Knutsen <dmknut...@gmail.com> wrote:

> I am trying to distribute a perl script that generates stand-alone
> executables using pp (via the system command...) to some co-worker(s).
> They don't have Perl/PAR::Packer installed on their machines...so I am
> trying to use PAR to basically "package itself" such that I can command
> generation of the executable from inside the perl script in such a way that
> I can then use pp to generate a executable version of the perl script.
> This effectively results in a PAR generated executable that generates
> another PAR generated executable..
>

Just an idea: pp  *both* your script and pp itself (which is just a Perl
script after all) into an executable and invoke pp from your script not via
"system", but with "do".

Cheers, Roderich

Reply via email to