just installed the new version of ActivePerl 188.8.131.522 64 bit
and i installed PAR::Packer module and when run i got this error
C:\perlcode>pp -o print.exe print.pl
C:\Users\jon\AppData\Local\Temp\parlzcPb.exe: Perl lib version (5.24.1) doesn't match executable 'perl.exe' version (5.24.0) at C:/Perl64/lib/Config.pm line 62.
Compilation failed in require at C:/Perl64/lib/Errno.pm line 10.
BEGIN failed--compilation aborted at C:/Perl64/lib/Errno.pm line 10.
Compilation failed in require at C:/Perl64/lib/File/Temp.pm line 17.
BEGIN failed--compilation aborted at C:/Perl64/lib/File/Temp.pm line 17.
Compilation failed in require at C:/Perl64/lib/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at C:/Perl64/lib/Archive/Zip.pm line 11.
Compilation failed in require at -e line 240.
C:\Perl64\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to file 'C:\Users\jon\AppData\Local\Temp\parl3swwQJc.exe' at C:/Perl64/site/lib/PAR/Packer.pm line 1184, <DATA> line 1.
This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2017, Larry Wall
Binary build 2402  provided by ActiveState www.ActiveState.com
Built Jan 5 2017 02:08:02
I have used this several times in the past and was in awe at the 'magic factor'.
I have found that it doesn't always work in every situation but when it does work, it's just awesome! I used it today for the first time in a long time and it worked perfectly, it saved me from having to do a source repo install of many perl files to just pushing one exe! Great work, Many Thanks!
PAR::Packer, and 'pp' in particular, are nothing short of brilliance. In the course of a lunch-break, I was able to go from having a tangle of code that relied upon so many exotic dependencies that it was impossible to install on another machine, to having a beautiful, single .exe that could be dropped onto a bare Windows desktop and double-clicked.
If you've been suffering from dependency headaches when deploying your code, then 'pp' can provide swift and effective relief. It's better than chocolate.