Feature Showcase: Build a Perl Executable


Building a stand-alone executable from a Perl script in Komodo requires ActiveState's Perl Dev Kit (PDK). The PerlApp packaging tool is run from within Komodo using the Build Standalone Application option in the Tools menu.

Before you start: Open the perl_sample.pl file contained in the sample project.


From the Tools menu, click Build Standalone Application.






In the Build Standalone Perl Application dialog box, accept the defaults and click Build.






The Output tab displays the results of the build process.






The perl_sample executable created is a console application. Double-clicking the executable opens a console window, displays the script output, and closes the window immediately upon completion. To view the script output, run the executable from the command line.







The build options set in the Build Standalone Perl Application dialog box can be saved as a Run Command in the Toolbox.