I noticed that running a command such as:

pp -f Crypto -M Filter::Crypto::Decrypt -o test.exe test.pl

to apply encryption filtering to the test.pl script and include the module needed to decrypt it in the PAR package wasn't working: the decryption module, Filter::Crypto::Decrypt, wasn't getting its DLL included in test.exe. Opening test.exe in WinZip, you can see that Decrypt.pm is included but Decrypt.dll is not.

It turns out that "-M Module" doesn't seem to be working in general (not specifically just for filtering modules), e.g.

pp -M DBI -o test.exe test.pl

only include DBI.pm, not the DBI.dll as well.

This in turn seems to be due a problem in Module-ScanDeps. I'm using version 0.75, and I find that the output of

scandeps -V C:\perl5\site\lib\DBI.pm

mentions DBI.pm but not DBI.dll. If I try the same command using version 0.54 of Module-ScanDeps then DBI.dll is mentioned in the output too.

I'll see if I can find the first version that broke and/or the cause of the breakage, but I thought I'd post here first in case someone in the know and having a few spare tuits is able to get there quicker.

--

Reply via email to