At Thu, 12 Apr 2007 10:01:47 +0200,
"Roderich Schupp" <[EMAIL PROTECTED]> wrote:
> 
> -B, --bundle
>     Bundle core modules in the resulting package. This option is
> enabled by default, except when -p or -P is specified.
> 
> But it seems to be in effect even when using -P. Unfortunately there's
> no --no-bundle...
> OK, the following patch to PAR::Packer seems to fix it.
> 
> Cheers, Roderich

Thanks for the patch.  Now when I run the script on my target machine, I get:

# perl hello.pl 
Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0x818557c) /etc/perl 
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl 
.) at /usr/bin/par.pl line 310.

The target machine is a vanilla perl installation.  From my understanding the 
-P option is
supposed to bundle all non-core modules that the script needs, including PAR 
itself.

Jason

Reply via email to