First of all, I think PAR is really great idea and am happy that it is being 
developed.

I was hoping to use it with some scripts that rely on the PDL (Perl Data 
Language) module, and this has been causing me trouble. On linux (gentoo) 
using Perl 5.8.0, PAR 0.79 and PDL 2.4.0, I am able to create a binary 
exceutable using pp with no problems -- the PDL module works fine. However, 
on Win32 (Windows 2000), (which is why I am wanting to use PAR in the first 
place) using Perl 5.6.1 (necessary for the precompiled PDL module), PAR 0.79 
and PDL 2.3.1, the excecutables are made with pp and then fail with the 
following warning when I attempt to run them:

Can't locate loadable object for module PDL::Core in @INC (@INC contains: 
CODE(0x124faa8) CODE(0x12ea9ec) .) at ../blib/lib/PAR/Heavy.pm line 78
Compilation failed in require at (eval 11) line 6.
BEGIN failed--compilation aborted at (eval 11) line 6.
BEGIN failed--compilation aborted at script/testscript.pl line 5.

Looking through the output when I run pp -v 5, I can see that "core.dll" is 
indeed added to the par file. If I remove the "use PDL" from my script, then 
pp produces an excecutable that works flawlessly. Also, if I run my 
testscript.pl using perl it runs fine. If I temporarily remove the "core.dll" 
file in C:\perl\site\lib\auto\pdl\core\ then I can produce a very similar 
error when trying to run my testscript.pl.

So, is this a a problem with Perl 5.6.1? If so, I guess I should attempt to 
compile a version of PDL to work with Perl 5.8. Or, is this a problem with 
PAR? I did notice that PDL uses its own Exporter.pm module, but I have no 
idea if this is relevant.

Thanks for any help,

Eric Paulson

Reply via email to