On Wed, Jan 21, 2004 at 06:01:08PM -0700, Mike Schroeder wrote:
> a pp generated exe ... not finding LWP::Simple.

Have you tried --add=LWP::Simple?  Not sure if it will be found in the
.exe's archive before the remote fetch is done, and I haven't tried that
with LWP::Simple, but I use it here with the following patch to pp.
Autrijus hasn't been able to reproduce the --add failure I see here, so
the patch may not be needed for anyone else.

- Barrie

--- script\pp   Tue Jan 06 16:18:50 2004
+++ c:\perl\bin\pp      Wed Jan 07 23:31:05 2004
@@ -172,6 +172,8 @@
 
     @Input = grep !/\.pm\z/i, @Input;
 
+    $zip->addFile( $_ ) for @files;
+
     $zip->addDirectory('', 'script') if @Input and $] >= 5.008;
 
     my $script_filter = PAR::Filter->new( @{ opt(f) } ) if opt(f);

Reply via email to