- 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.
3667 links, including 646 private