According to [1] pp, when you use the "-B" flag, it should remove
local paths from @INC just before the packaged script runs.  It
appears to use the default @INC during the time before the packaged
script runs.

The reason this is a problem for me is that when running my packaged
executable file on a specific box with perl already installed, it dies
with "Can't locate List/Util/PP.pm in @INC".  It only happens on this
one box.  I want to very specifically not ever (not even during the
startup process before the packaged script runs) use any local perl or
local modules, even if they're available.  My app is going to be
distributed on tons of computers, none of which I have control over
and many that will likely have a perl installation.  And some of those
might be using old versions of modules or damaged/misconfigured/etc
modules.

Is there an existing method to prevent using any local perl and local
perl modules from being used at any point in execution?  If not, would
you accept a patch to make it so?

Thanks,
Dusty


[1] http://search.cpan.org/~smueller/PAR-Packer-0.991/lib/pp.pm

Reply via email to