Part 7: Perl Dev Kit
ActiveState's Perl Dev Kit (PDK)
is a toolkit that integrates with Komodo to simplify the process of building and
deploying Perl applications. If you have the PDK installed, you can use the extended
functionality to quickly turn the stock quote code into a standalone Perl application.
Note: Although it will not be necessary for this example, this is
the point where you would debug the program. For more about Komodo's debugging features,
see Komodo Debugger Functions.
- With the Get_Quote.pl file still open in the Editor Pane, select
Tools|Build Standalone Perl Application. The Build
Standalone Perl Application dialog box will be displayed. Select the
Overwrite existing build check box, just in case you need to
build more than once. Accept the rest of the default settings on the General
tab.
View
Example
- Click the Modules tab. Notice that the upper portion of the
dialog box is for specifying any extra modules that your script requires. In the
Module name field, enter "Tk", then click Add.
In the Module name field, enter the name of your dialog's
definition file, "Get_Quote.pl", then click Add.
- Click the Build button. The Output Pane at the bottom of
the Komodo workspace will display the build status, warnings, and any errors.
Unless you specify otherwise, the executable file will be created in the same
directory as the original files.
View
Example
Top
|