Tutorial Addendum on Perl - Allotment A - Converting Perl Scripts to Executables
| |
This affiliate describes:
- Why we charge to catechumen Perl scripts to executable programs.
- How to install Perl Dev Kit and use it to catechumen Perl scripts.
Why Converting Perl Scripts to Executables
It happens actual generally that you accept developed a actual nice Perl Software to accomplish a accepted task,
and anyone abroad aswell charge to accomplish this task. So you adjudge to allotment your Software with him/her.
But he/she knows annihilation about Perl and does not accept Perl installed on his/her system.
The simplest way to allotment your Software in this case is to catechumen it into an executable program.
There are two accepted approaches to catechumen Perl scripts into executable programs:
- Using the accepted Perl accumulation tool, perlcc, to catechumen Perl scripts into C antecedent codes and
then aggregate into executable programs.
- Using "Perl Dev Kit (PDK)" from ActiveState to catechumen Perl scripts anon into Windows
executable programs.
Installing Perl Dev Kit (PDK)
Since I accept ActivePerl from ActiveState installed on my machine, I am traveling to try Perl Dev Kit (PDK)
from ActiveState. Agenda that PDK is not a freeware like ActivePerl. But it offers a 21-day balloon license.
Here is how I installed PDK on my system:
1. Go to http://www.activestate.com/Products/Perl_Dev_Kit/ and download PDK-Deployment-6.0.1.138990.msi.
2. Bifold bang on PDK-Deployment-6.0.1.138990.msi to install it to a agenda called: pdk.
3. To try it, run the perlapp in a command window as:
>pdkinperlapp -help
You don t assume to accept a accurate license.
Please acquirement a authorization from http://www.ActiveState.com/PDK
4. Ok, now go aback to http://www.activestate.com/Products/Perl_Dev_Kit/ and bang the "Try" button.
You charge to ample in a anatomy to annals yourself for a balloon authorization key.
5. Afterwards appointment the form, I got an email with a download link. So I followed the hotlink and downloaded
a book called: T20ABCC9A1-PLDK60T-1466.exe.
6. Bifold bang on T20ABCC9A1-PLDK60T-1466.exe to install the 21-day balloon license.
7. Run the perlapp again:
>pdkinperlapp -help
NAME
perlapp - Catechumen Perl program into a standalone application
SYNOPSIS
...
Very cool, I got PDK active on my system.
|
scripts, convert, activestate, executable, license, programs, trial, perlapp, click, script, install, converting, installed, system, , perl scripts, perl dev, dev kit, convert perl, executable programs, www activestate, activestate com, http www, kit pdk, converting perl, kit and, trial license, convert perl scripts, converting perl scripts, com products perl, t20abcc9a1 pldk60t 1466, day trial license, executable programs using, share your script, perl scripts into, pdk from activestate, |
Also see ...
Running PDK PerlAppRunning PerlApp to catechumen a Perl Software to an executable program is simple. Let yield my DirGrep.pl as an example: DirGrep.pl
This affiliate describes:Three congenital data types: scalars, arrays, and akin arrays.How to assemble scalar objects.How scalar altar are interpreted in operations.
Scalar Item InterpretationsWhen a scalar item is acclimated in an operation, it could be interpreted in three ways depending on the blazon of amount the operation is expecting:p
List Amount ConstructorsList amount constructors are acclimated to assemble account objects. A account item is about identical to an arrangement object. It represents an ordered account of
This affiliate describes:How to cover antecedent codes from additional files.How to ascertain and use name spaces.How to ascertain appropriate subroutines for accumul
The calling program, IncRequireTest.pl, IncRequireTest.pl Absorb (c) 1995 by Dr. Yang print(" Testing require()... "); require("MyRequireLib.inc"); require("MyRequireL
Special Subroutines for Accumulation and Beheading ProcessesIn a Perl antecedent cipher file, you can ascertain 4 appropriate subroutines, which will be accomplished automatically by the ac
Defining and Using Perl ModulesPerl Bore A appropriate antecedent cipher book that:Contains variables and subroutines accompanying to a individual subject./l
This affiliate describes:How to adjure subroutines as chic methods.How to adjure subroutines as item methods.How to make objects.How to make it
Output: Test 1: Param 1 = Jan Param 2 = FebTest 2: Param 1 = Apple Param 2 = BananaTest 3: Param 1 = One Param 2 = Twob