Perl Packager (commonly abbreviated "pp") is a tool for creating a standalone executable from a perl program using PAR.
Questions tagged [perl-packager]
31 questions
8
votes
6 answers
How to install pp (PAR Packager)?
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?

Андрей Миланов
- 123
- 1
- 2
- 4
6
votes
3 answers
Where does pp (PAR) unpack add (-a) files?
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 {…

jpolache
- 305
- 3
- 12
4
votes
0 answers
How to protect the executable perl files from PAR::Packer?
I have created an executable Perl script file using the below command.
pp -x -o output.exe test.pl
The exe file was successfully generated. But when I extract the file using the below command I am able to see the source code.
unzip output.exe
Here…

Muralitharan
- 367
- 1
- 2
- 11
3
votes
1 answer
How to pack perl script with all dependencies from Windows to run on linux machine?
I have used pp PAR::Packer to build a standalone exe file to run on a Windows machine.
Can somebody explain how to build a Perl script with all the dependent packages from this Windows machine to create a standalone file to be run on a Linux…

Vinay Gudisagar
- 73
- 10
2
votes
0 answers
How to compile a Perl file to be executable on multiple architectures?
I'm trying to compile Perl so that it can run on both Arm architecture and x86_64 machines, using pp. I see from the documentation that Perl has a -m or --multiarch option, which will compile a Perl file into a PAR that can be run on multiple…

Lou
- 2,200
- 2
- 33
- 66
2
votes
2 answers
pp (perl compiler) issue - still has a dependency
I'm trying to use pp (the perl compiler) to create an application that can run independent of the perl installed library and interpreter.
It successfully creates a compiled executable although I had to use the -x -c options to get it to find…

user14352097
- 21
- 1
2
votes
1 answer
why lib/pp.rb requires lib/pp/room which does not exist
I am trying to create gem using bundler. This gem requires pp gem to make 'pretty print'. I have require 'pp' at the top of the source and after that I use pp where needed. However, a runtime error…

Ivan Cenov
- 189
- 2
- 10
2
votes
1 answer
What is the correct invocation of pp to pack this directory structure?
I know there are two other questions that hit at the same thing here but mine comes from actually trying the suggestions there, and in hope that there are some other options that have worked for people since then.
The setup is this:
I have an…

user3046061
- 353
- 4
- 14
2
votes
2 answers
Why don't my system calls work in the Perl program I wrap with pp?
I have a Perl/POE/Tk script running on Win32 ActivePerl that calls executables using system. I created an exe of the script using pp. I can unpack the exe and see the executables off the root of the "zip" file directory, but when I run the exe and…

jpolache
- 305
- 3
- 12
1
vote
1 answer
compile perl script using par::packer and run it on different linux versions
I have a Perl script which I tried to use PAR::Packer in order to make it a standalone executable so it runs without having Perl on the target machine (because of security reasons).
I used WSL on Windows to pack the Perl script, but the problem I…

Fooad Taha
- 25
- 8
1
vote
0 answers
Perl Compiling PP issue in Strawberry Perl
I am having issues with compiling in Windows (Strawberry Perl v5.32.0) a script that references a custom module. My Perl skills could be rated as a 3/10 with 10 being the best and have researched this problem to the best of my ability.
When I run…

Scott Chappa
- 13
- 5
1
vote
1 answer
Perl PAR PP - Don't work /tmp/par-726f6f74/inc/lib/Mojo/resources/html_entities.txt
I've been using pp
https://metacpan.org/pod/pp
A while ago!
However when hiring another hosting, when I run the pp command the scripts do not run on the server
CentOS Linux release 7.9.2009 (Core)
Perl v 5.32.1
Command using pp, host old
$ pp -x -c…

Liandro Cos
- 65
- 11
1
vote
0 answers
Compiling via Perl Packager including libraries?
I recently compiled a perl script using "pp" (Perl Packager) on an x86 linux box running Manjaro. I had someone test it on their x86 Debian 10 box, but it wouldn't run.
He said that since Libperl.so has a dependence on glibc v2.29. Since his OS…

circuiticon
- 11
- 2
1
vote
0 answers
Perl on Windows - Open function fails when encoding type is stored in a variable and using PAR::Packer
I have a script that works fine when using Perl, but fails when I convert it to a .exe using PAR::Packer and run it (all this on Windows);
The issue only occurs when I store the encoding type to open a file in a variable. Example:
my $enc=…

JohnnyLoo
- 877
- 1
- 11
- 22
1
vote
0 answers
win32 strawberry perl PAR Packer make exe file
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…

ThomasE
- 9
- 2