Perl Tutorials - Herong's Tutorial Examples - v6.01, by Dr. Herong Yang
Installing Perl Dev Kit (PDK)
This section provides a tutorial example of installing Perl Dev Kit from ActiveStat, which contains a tool, perlapp, to convert Perl program into a standalone application.
Since I have ActivePerl from ActiveState installed on my machine, I am going to try Perl Dev Kit (PDK) from ActiveState. Note that PDK is not a freeware like ActivePerl. But it offers a 21-day trial license. Here is how I installed PDK on my system:
1. Go to activestate.com/Products/Perl_Dev_Kit/ and download PDK-Deployment-6.0.1.138990.msi. The file is about 6 MB.
2. Double click on PDK-Deployment-6.0.1.138990.msi to install it to a directory called: \pdk.
3. To try it, run the perlapp in a command window as:
herong> \pdk\bin\perlapp -help You don't seem to have a valid license. Please purchase a license from http://www.ActiveState.com/PDK
4. Ok, now go back to activestate.com/Products/Perl_Dev_Kit/ and click the "Try" button. You need to fill in a form to register yourself for a trial license key.
5. After submitting the form, I got an email with a download link. So I followed the link and downloaded a file called: T20ABCC9A1-PLDK60T-1466.exe.
6. Double click on T20ABCC9A1-PLDK60T-1466.exe to install the 21-day trial license.
7. Run the perlapp again:
herong> \pdk\bin\perlapp -help NAME perlapp - Convert Perl program into a standalone application SYNOPSIS ...
Very cool, I got PDK running on my system.
Table of Contents
Data Types: Values and Variables
Expressions, Operations and Simple Statements
Name Spaces and Perl Module Files
Hard References - Addresses of Memory Objects
Objects (or References) and Classes (or Packages)
Typeglob and Importing Identifiers from Other Packages
String Built-in Functions and Performance
File Handles and Data Input/Output
Open Directories and Read File Names
File System Functions and Operations
Socket Communication Over the Internet
XML::Simple Module - XML Parser and Generator
SOAP::Lite - SOAP Server-Client Communication Module
Perl Programs as IIS Server CGI Scripts
CGI (Common Gateway Interface)
XML-RPC - Remote Procedure Call with XML and HTTP
RPC::XML - Perl Implementation of XML-RPC
Integrating Perl with Apache Web Server
CGI.pm Module for Building Web Pages
LWP::UserAgent and Web Site Testing
►Converting Perl Script to Executable Binary
►Installing Perl Dev Kit (PDK)
Running PerlApp to Convert *.pl to *.exe