Steffen Mueller wrote:
> Yes, I think so. But I'm at a loss as to what's happening. There is no
> way @args would be empty!
You asked me to write a "simple print statement", but unfortunately I failed :-(
I have changed my print statement from
print "\n\nAbout to execute:\n".$execute, join( @args, " " ), " -O$file\n\n\n";
to
print "\n\nAbout to Execute:\n$execute @args -O$file\n\n";
The output now contains a clue!
C:\Perl\cpan\build>pp -e "1;"
About to Execute:
C:\DOCUME~1\steven\LOCALS~1\Temp\parlduXE.exe -IC:\Program Files\ActiveState Per
l Dev Kit 6.0\lib\ -Ic:/Perl/site/lib -Ic:/Perl/lib -I. -q -B -Ofile
Usage: C:\DOCUME~1\steven\LOCALS~1\Temp\parlduXE.exe [ -Alib.par ] [ -Idir ] [ -
Mmodule ] [ src.par ] [ program.pl ]
C:\DOCUME~1\steven\LOCALS~1\Temp\parlduXE.exe [ -B|-b ] [-Ooutfile] src.p
ar
c:\Perl\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to fil
e 'parlRPc8xTL.exe' at c:/Perl/site/lib/PAR/Packer.pm line 1142, <DATA> line 1.
Do you think the space in the include path might be a problem?
Steven