9398 shaares
13 liens privés
13 liens privés
How can I compile my Perl script so it can be executed on systems without perl installed? - Stack Overflow
Install PAR::Packer. Example for *nix:
sudo cpan -i PAR::Packer
For Strawberry Perl for Windows or for ActivePerl and MSVC installed:
cpan -i PAR::Packer
Pack it with pp. It will create an executable named "example" or "example.exe" on Windows.
pp -o example example.pl
This would work only on the OS where it was built.