How to compile a Perl script to a Windows executable with Strawberry Perl?

Notitze picture Notitze · Jun 1, 2010 · Viewed 102.8k times · Source

What would be the easiest way to compile a simple Perl script to an executable under Windows with Strawberry Perl (as I understand it's possible and free)?

In the past I've used ActiveState compiler and perl2exe and was simple enough. However, now after a few computer changes and OS updates I've lost the licenses and I'd like to find a better/permanent solution.

Answer

Alexandr Ciornii picture Alexandr Ciornii · Jun 1, 2010

Install PAR::Packer from CPAN (it is free) and use pp utility.