Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How do I make a Perl script into a self-contained executable?

by radiantmatrix (Parson)
on May 14, 2006 at 17:50 UTC ( [id://549348]=note: print w/replies, xml ) Need Help??


in reply to How do I make a Perl script into a self-contained executable?

There are several approaches to producing self-contained executable packages from Perl programs.
  1. ActiveState offers their Perl Dev Kit (PDK), which contains a tool called PerlApp. Using the PerlApp GUI tool, any set of Perl scripts can be "compiled" into a single distributable Windows EXE file. This is a commercial solution.
  2. Perl2EXE is a command-line tool with a similar goal as PerlApp above. There are "lite" (gratis) and "pro" (commercial) versions available with varying feature-sets.
  3. PAR is a cross-platform packager. The included pp utility is capable of creating perl packages in Windows EXE and Linux binary formats. (Possibly OSX as well? Untested...). However, PAR can also be used to distribute packages that require only a basic Perl distribution and the PAR runtime parl. These are not executables, but work similar to Java's JAR files.

There are additional ways to accomplish the core goal of distributable packages, but the above are the recommended, well-tested methods.

At some point in the future, Parrot may provide functionality to create reusable libraries, executables, and/or packages from Perl programs. Keep an eye on its development.

  • Comment on Re: How do I make a Perl script into a self-contained executable?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://549348]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found