Forum Navigation
You need to log in to create posts and topics.

Compile Perl Script

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

for CentOS / RedHat

 

yum install perl-PAR-Packer.x86_64