On Mon, May 23, 2011 at 1:34 PM, Mark Dootson <[email protected]> wrote:
> $^X -MIPC::Run::Win32Pump -e 1 blah blah
>
> Come to think of it, to make my ugly code work I think you need to use the
> --reuse option to pp - then I assume you get something workable in $^X.
It's even more complicated :(
- $^X is always the dummy string "perl"
- instead of $^X one could use
$ENV{PAR_PROGNAME} --par-options --reuse
- the original script must have been packed with "pp --reusable ..."
- even then perl command line options (e.g. -M, -e) won't work
See also the recent thread about similar problem with POE.
Cheers, Roderich