perl588 PAR PP bug?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
As a follow-up from an earlier post I am having problems with running
a compiled perl executable. If I include the -d option on the PP
command line the resulting executable fails with...

Can't locate in @INC (@INC contains: .) at -e line 786.
BEGIN failed--compilation aborted at -e line 971.
Can't locate File/ 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?

Quoted text here. Click to load it

I have had exactly this problem, and I never found a solution beyond not
using -d. The problem seems to be that 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.

Site Timeline