First, did you install Win32::Perms? I called up a command prompt and entered "ppm". I then did "query Perms" and came up with nothing. I then installed Win32::Perms with the command line shown below, and I pasted the results also below (under "snip"). I then did "query Perms" again and pasted the results below as well.
I guess all you need to do is enter ppm and query Perms to see if you already have it properly installed. If you have it installed, and pp is not finding it, there is a -M flag for including other modules. If that is the case, try pp -M Win32::Perms -o my.exe my.pl Good luck -----------------------snip ppm> install http://www.roth.net/perl/packages/win32-perms.ppd ==================== Install 'win32-perms' version 0.2002.06.05 in ActivePerl 5.8.0.806. ==================== Downloaded 97493 bytes. Extracting 12/12: blib/lib/Win32/PERMS.PM Installing C:\Perl\site\lib\auto\Win32\Perms\Perms.DLL Files found in blib\arch: installing files in blib\lib into architecture dependent library tree Installing C:\Perl\site\lib\Win32\Perms.PM Installing C:\Perl\site\lib\Win32\Perms\COPY.PL Installing C:\Perl\site\lib\Win32\Perms\noinher.pl Installing C:\Perl\site\lib\Win32\Perms\RECURSE.PL Installing C:\Perl\site\lib\Win32\Perms\ShowPerm.pl Installing C:\Perl\site\lib\Win32\Perms\TEST.PL Installing C:\Perl\site\lib\Win32\Perms\test2.pl Installing C:\Perl\site\lib\Win32\Perms\Win32-Perms.ppd Installing C:\Perl\site\lib\Win32\Perms\History.txt Installing C:\Perl\site\lib\Win32\Perms\README Successfully installed Win32-Perms version 0.2002.06.05 in ActivePerl 5.8.0.806. ppm> ppm> query Perms Querying target 1 (ActivePerl 5.8.0.806) 1. Win32-Perms [0.2002.06.05] The Win32::Perms extension for Win32 X86. Manages object permissions fo~ ppm> ----------------------end snip Try the -M flag that will tell pp to include Win32::Perms ----- Original Message ----- From: "lala lala" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 9:32 AM Subject: Pb with PAR and Win32::Perm dll ? > Hello and first of all, sorry for my poor english > I'm new in Perl and on the mailing list. > I've just read the post of Eric and I think that I have the same problem but > with an other dll. > I'll try to explain : > I wrote a script using Win32::Perms and I want to make an exe file with par. > With pp -o my.exe my.pl I have an exe file going wrong this way : > Can't locate loadacle object for module Win32::Perms in @INC (@INC contains: > CODE(0xb97eec) CODE(0xc8a99c) .) at ../blib/lib/PAR/Heavy.pm line 78 > Compilation failed in require at script/mon.pl line 10 > With perl my.pl everything's ok. . . . > > Maybe it's just because a dll is not at the good place in the par ? > > Thanks a lot. > > Nicolas FROMENT > > _________________________________________________________________ > Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! > http://g.msn.fr/FR1000/9493 >