in reply to Error when compiling perl-script to executable
If you want to make your script executable try PAR::Packer (the Perl Archive Toolkit)
#!/usr/bin/perl use strict; use warnings; print "Hello World\n" ;
Compile it with the "pp" utility:
% pp -o hello hello.pl
That creates "hello" that can be run directly:
% ./hello Hello World
This tool is very effective in packaging stand-alone applications written in perl (packs all the modules, etc...), but I don't know at what extend the performance of the resulting executable is increased
Hope this helps
citromatik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error when compiling perl-script to executable
by jasonk (Parson) on Jul 06, 2007 at 15:24 UTC | |
by archfool (Monk) on Jul 06, 2007 at 17:40 UTC |