Forum breadcrumbs – You are here:Tracston Community Forum
Micro Services, Cloud, Infrastructure, Development, Monitoring and more…Development: PerlCompile Perl Script
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
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
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
All content available through this Web Site is provided on an “AS IS” and “AS AVAILABLE” basis, with all faults. Tracston LTD makes no warranty or representation with respect to the quality, accuracy, or availability of the Web Site or any of its content.