Komodo and the Perl Dev KitKomodo IDE onlyKomodo integrates with ActiveState's Perl Dev Kit (PDK), a suite of tools for creating and deploying applications in Perl. Perl Dev Kit 6Users of the Perl Dev Kit 6.x can access PDK tools via the Tools menu (Tools|Perl Dev Kit) or the Perl Dev Kit Toolbar. The VBScript Converter, Filter Builder and Visual Package Manager options are displayed by default. The other options (described below) are only available if a Perl file is open in the Editor Pane. Select the feature from the menu, or click the toolbar, to launch a graphical user interface for the chosen PDK tool.
Instructions for using these tools can be found in the Perl Dev Kit documentation. Perl Dev Kit 3.1 to 5.3Integration with earlier versions of the PDK is available through an optional package installer which adds the Build Standalone Perl Application option to the Tools menu. To install this extension:
To use this extension, select Tools|Build Standalone Perl Application with a Perl script open in Komodo's Editor Pane. After configuring options using the tabs in the Build Standalone Perl Application dialog box, use the buttons at the bottom of the dialog box to:
Note: When using the Build Standalone Application
feature with Perl 5.8.0 on a Linux installation where the environment is set to
use UTF-8, you must add the module 'utf8' on the Modules tab.
This is the equivalent of Configuring the General TabThe build options for the Perl Dev Kit correspond with the tools described in the documentation included with your version of Perl Dev Kit.
Configuring the Modules TabUse the Modules tab to add external modules to the build, and trim unwanted modules. Specifying Extra Modules For Your ScriptTo add a module to the output program, enter the name of the module in the Module name field, and click Add. The module to be added is displayed in the list box above. Remove modules from the list box using the Delete and Delete All buttons. This option corresponds with the Specifying Modules to Trim from the PackageTo remove an unwanted module from the build, enter the name of the module in the Modules field, and click Add. The module to be trimmed is displayed in the list box above. Remove modules from the list box using the Delete and Delete All buttons. This option corresponds with the Configuring the Files TabUse the Files tab to add additional files (typically data files used by the embedded program) to the output file that is extracted when the program runs. This option corresponds with the Adding FilesTo add a file to the output program, click Add. In the pop-up dialog box, enter the source location of the file on your system, and the location where the file should be extracted when the output file runs. Editing FilesTo edit a file that has been added to the output program, click Edit. In the dialog box, as required, alter the source location of the file on your system, and the location where the file should be extracted when the output file runs. Deleting FilesTo remove a file that was to be added to the output program, click the file, then click Delete. Configuring the Version TabUse the Version tab to embed version information in the
output program. It corresponds to the To alter any of the version options, select the desired option in the Version field column, and enter the desired value in the field below. This information is assembled as a version information (VERINFO) resource and displayed to users if they view the properties for the script in Windows Explorer. Configuring the Library Paths TabUse the Library Paths tab to add directories to your build.
The options on this tab correspond with the command-line arguments Specifying "lib" and "blib" Directories to IncludeTo add a lib or blib directory to include in an output file, click Add. In the Browse for Folder dialog box, select the directory path to include, and click OK. The path can contain multiple directories that are separated in the same way as in the PATH environment variable. Use Delete and Delete All to remove directories that you do not want to add from the "lib" and "blib" list boxes. Configuring the Extra TabThe Extra tab is for adding icon files as well as manually specifying any additional command-line arguments. Specifying Icon filesTo include .ico files in a build, click Add. From the Add Icon dialog box, select the icon(s) you want to add, and click Open. The complete path for the icon file is displayed in the Icon File list box. This option is equivalent to the Specifying Additional Command Line ParametersIf you want to specify any command-line parameters in addition to those selected using the options in the Build Standalone Perl Application dialog box, enter them in the field provided. |