Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
89 views

How to use pp (PAR Packer) in a batch script?

I am using PAR Packer to create executables from a series of Perl scripts. I can create the executable using the command: pp perl_script1.pl -o test1.exe When I place all the pp commands into a batch ...
Im Groot's user avatar
  • 647
3 votes
0 answers
339 views

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 ...
Lou's user avatar
  • 2,500
1 vote
1 answer
535 views

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 ...
Fooad Taha's user avatar
-1 votes
1 answer
3k views

How to resolve could not resolve dependency after Angular migrations?

I updated all my tools : npm, node, angular-cli I was USING Angular 11 and now angular 13 in my project. I use this link to migrate my Angular project step by step : https://update.angular.io/?l=2&...
MasterSinge's user avatar
4 votes
0 answers
262 views

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 ...
Muralitharan's user avatar
0 votes
1 answer
132 views

PERL do not run script after PAR

[root@localhost html]# rpm -q centos-release centos-release-7-9.2009.1.el7.centos.x86_64 [root@localhost html]# httpd -v Server version: Apache/2.4.6 (CentOS) Server built: Dec 13 2020 00:35:05 [...
Liandro Cos's user avatar
1 vote
0 answers
21 views

Perl Compiling PP issue in Strawberry Perl [duplicate]

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 ...
Scott Chappa's user avatar
1 vote
1 answer
425 views

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) ...
Liandro Cos's user avatar
2 votes
2 answers
226 views

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 ...
user14352097's user avatar
1 vote
0 answers
85 views

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....
circuiticon's user avatar
1 vote
0 answers
60 views

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 ...
JohnnyLoo's user avatar
  • 927
0 votes
1 answer
3k views

Creating an executable program from a Perl script

I am trying to make an executable program from a finished perl script. I installed the PAR::Packer module without difficulty. However, I do not believe I am doing this properly. Below is the code ...
storm5510's user avatar
0 votes
1 answer
1k views

pp - PAR Packager , Can't locate strict.pm

I have a perl script called master.pl and it contains following lines of code #!/usr/local/bin/perl use strict; system("perl /proj/scripts/slave.pl"); I made binary executable of master.pl using ...
HsPython's user avatar
1 vote
0 answers
715 views

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 ...
ThomasE's user avatar
0 votes
1 answer
61 views

Auto replace of the exe file or the script/myscript.pl from the Server

So I deploy the PerlPacked exe tool to the users. I would like to run the self auto-replacement of the new Tool from the server after checking if there is new tool available. 1) I know in windows, ...
Aravind Nadumane's user avatar
2 votes
1 answer
174 views

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's user avatar
1 vote
1 answer
388 views

Get all dependencies for Par::Packer?

I'm using Par::Packer on OSX and Linux to create binaries for some applications that utilize Paws. I'm calling pp like so: pp -o build_cluster -x -c -I lib/ @ppdeps bin/build_cluster ppdeps ...
Rohu's user avatar
  • 63
0 votes
0 answers
415 views

perl: Scalar found where operator expected at script

cannot find answer in Google, nor figure it out myself. Win7 64bit This is perl 5, version 22, subversion 3 (v5.22.3) built for MSWin32-x86-multi-thread-64int from Active State with modules List::...
Timo Karhu's user avatar
0 votes
1 answer
2k views

Missing 'libexpat-1_.dll' error for executable made with pp

I made exe file with pp using Strawberry Perl, but when I run it on another machine, I get following error: The program can't start because libexpat-1__.dll is missing from your computer. Try ...
flamey's user avatar
  • 2,379
0 votes
2 answers
273 views

Perl PP doesn't include Switch module

I created a perl script that includes the Switch module. hello_world.pl use strict; use warnings; use Switch; use Data::Dumper; my $var = "Hello World\n"; print Dumper($var); if I launch perl ...
b1zzu's user avatar
  • 380
3 votes
1 answer
2k views

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 ...
Vinay Gudisagar's user avatar
1 vote
1 answer
75 views

perl par-packer exe file sleep() not working

hello.pl is a file which works fine: print "Hello World"; sleep(5); When I convert that to hello.exe using par-packer, window will sleep for 5 sec but won't print "Hello World" - which is actually ...
SSh's user avatar
  • 189
1 vote
2 answers
2k views

Convertion Perl Script to Exe with PAR::Packer pp

I'm trying to convert a perl script to a executable file with PAR::Packer pp with the command (Windows 7 64 bits): "pp -o teste.exe gmail_att.pl" but i'm receiving the message: "# Use of runtime ...
marchiore's user avatar
  • 598
2 votes
1 answer
141 views

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 ...
user3046061's user avatar
-4 votes
1 answer
498 views

pp not working on ruby file [closed]

How do I get pp to wrap (limit) the line lengths to 79 characters as the pp documentation says? The following example demonstrates that pp does not limit the output to default length 79 as stated in ...
jasnow's user avatar
  • 78
0 votes
2 answers
4k views

CPAN Perl module installation fail

I am trying to install PP to compile Perl scripts into an EXE file, and I am using 64-bit Windows 7 and 32-bit ActiveState Perl. After typing cpanm pp My command prompt returns --> Working ...
user1006262's user avatar
8 votes
6 answers
37k views

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?
Андрей Миланов's user avatar
1 vote
2 answers
279 views

Why does my Perl PAR application immediately die?

This is probably a newbie question as I have just started using pp. I read the documentation on CPAN and tried to create an executable for my application. I use Camelbox and Tk on Windows XP, PAR::...
Nele Kosog's user avatar
1 vote
2 answers
2k views

Can PAR Packer generate stand-alone scripts?

I'm currently using the PAR Packer (pp) to package a couple of pl scripts such that they can be copied to a machine and "just work" without my client having to muck with CPAN. Unfortunately, the PAR ...
Jono's user avatar
  • 948
6 votes
3 answers
4k views

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:~/...
jpolache's user avatar
  • 305
2 votes
2 answers
2k views

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 "...
jpolache's user avatar
  • 305