perl-packager

win32 strawberry perl PAR Packer make exe file

*爱你&永不变心* 提交于 2021-02-10 20:26:52
问题 i use on windows server : Summary of my perl5 (revision 5 version 30 subversion 0) configuration PAR::Packer is up to date (1.049). I can successfully build an exe file without error message. pp -o p.exe p.pl content p.pl use warnings; use strict; print "This is the Perl code!\n"; on the local machine run fine. Transfer the exe to other windows host and run script. No output :-( What am I doing wrong? Regards Thomas 来源: https://stackoverflow.com/questions/58817812/win32-strawberry-perl-par

Where does pp (PAR) unpack add (-a) files?

一曲冷凌霜 提交于 2019-12-29 01:36:10
问题 This is my attempt to cut through extraneous issues raised "Why don’t my system calls work in the Perl program I wrap with pp?" I have created a simple Perl script on a linux system: new-net:~/scripts # cat ls_test.pl @ls_out = `ls -l`; map { print "$_\n" } @ls_out; $out = `sh out_test.sh`; print "$out\n"; This script calls a simple shell file: new-net:~/scripts # cat out_test.sh echo "I'm here" I used pp to pack the Perl script along with the shell script into ls_test: new-net:~/test # unzip

How to install pp (PAR Packager)?

霸气de小男生 提交于 2019-11-30 07:35:06
问题 I have to create an exe from a Perl script. I installed ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi How do I install pp? 回答1: Until the issue with 1.010 is fixed, do the following: Go to http://search.cpan.org/dist/PAR-Packer/ From the "Other releases" drop down list, select PAR-Packer-1.009 and download it Decompress the archive, preserving directory structure Run perl Makefile.PL Install all the missing prerequisites by hand using ppm . E.g., ppm install Module::ScanDeps etc Install MingW

How to install pp (PAR Packager)?

会有一股神秘感。 提交于 2019-11-29 04:35:32
I have to create an exe from a Perl script. I installed ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi How do I install pp ? Until the issue with 1.010 is fixed, do the following: Go to http://search.cpan.org/dist/PAR-Packer/ From the "Other releases" drop down list, select PAR-Packer-1.009 and download it Decompress the archive, preserving directory structure Run perl Makefile.PL Install all the missing prerequisites by hand using ppm . E.g., ppm install Module::ScanDeps etc Install MingW: ppm install MingW dmake , then dmake test , then dmake install Later, you can remove PAR::Packer from the