Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 9, 2008, 11:54 pm
rate this thread
a compiled perl executable. If I include the -d option on the PP
command line the resulting executable fails with...
Can't locate Win32.pm in @INC (@INC contains: .) at -e line 786.
BEGIN failed--compilation aborted at -e line 971.
Can't locate File/Temp.pm in @INC (@INC contains: .) at -e line 162.
END failed--call queue aborted at -e line 974.
The script source is...
print "Hello World\n";
I googled for hours and I think that there is something wrong with the
PAR build and/or the perl58.dll but I could not locate a way to
resolve this. I running Perl5.8.8. with the latest PAR & PAR-
Packer(0.976) on Windows XPsp3
Has anyone come across this problem and know how to resolve it?
Re: perl588 PAR PP bug?
I have had exactly this problem, and I never found a solution beyond not
using -d. The problem seems to be that Win32.pm is loaded by the perl
core really early, before PAR has a chance to insert its hooks into
@INC; I don't really understand why not using -d makes a difference to
We do not stop playing because we grow old;
we grow old because we stop playing.