in reply to Re^4: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
in thread Can't locate loadable module error for XML::LibXSLT on Strawberry Perl

How do I add the files I need while creating exe? I tried "-A" option but "pp" complains.
C:\>pp -A C:\strawberry\perl\vendor\lib\auto\XML\LibXSLT\LibXSLT.xs.dl +l --lib=c:\strawberry\perl\vendor\lib\XML -o testexe test.pl No Perl script found in input

  • Comment on Re^5: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
  • Download Code

Replies are listed 'Best First'.
Re^6: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
by Anonymous Monk on Aug 22, 2010 at 04:28 UTC
    You shouldn't need to do that, which version of PAR/PAR::Packer do you have installed?

    This works for me using the latest, PAR: 1.002 PAR::Packer: 1.006.

    pp -M XML::LibXML -M XML::LibXSLT -l libgcc_s_sjlj-1.dll -l libxml2-2 +_.dll -l libiconv-2_.dll -l libz_.dll -l libexslt-0_.dll -l libxslt-1 +_.dll -e "print $_,$/ for keys %INC"
    Then after unzip -d foo a.exe you can see all the packed files, but i'll just show the dlls so you can see pp does the correct thing with little help