Forum breadcrumbs – You are here:Tracston Community Forum<br>Micro Services, Cloud, Infrastructure, Development, Monitoring and more…Development: PerlCompile Perl Script
You need to log in to create posts and topics.
Compile Perl Script

moshe@moshe
#1 · 17/10/2020, 12:40 pm
Quote from moshe on 17/10/2020, 12:40 pmPerl is an interpreted and dynamic programming language.
Problems
- perl scripts requires the interpreter and appropriate modules on the system.
- Source code for those scripts is visible to anyone.
- Compile source code is portability. It simplifies the requirements
Solution
use pp module
Install the needed modules
sudo apt install libpar-packer-perl
run the packer command
pp -M PAR -o outfile infile.pl
Perl is an interpreted and dynamic programming language.
Problems
- perl scripts requires the interpreter and appropriate modules on the system.
- Source code for those scripts is visible to anyone.
- Compile source code is portability. It simplifies the requirements
Solution
use pp module
Install the needed modules
sudo apt install libpar-packer-perl
run the packer command
pp -M PAR -o outfile infile.pl
Click for thumbs down.0Click for thumbs up.0

moshe@moshe
#2 · 30/03/2021, 6:58 am
Quote from moshe on 30/03/2021, 6:58 amfor CentOS / RedHat
yum install perl-PAR-Packer.x86_64
for CentOS / RedHat
yum install perl-PAR-Packer.x86_64
Click for thumbs down.0Click for thumbs up.0