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

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.