ASPN ActiveState Programmer Network  
ActiveState, a division of Sophos
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups
  |_ Getting Started
    |_ Welcome To ActivePerl
    |_ Release Notes
    |_ Installation Guide
    |_ Using PPM
    |_ Web Server Configuration
    |_ Getting Started
    |_ ActivePerl 5.6 Change Log
    |_ ActivePerl 5.8 Change Log
    |_ ActivePerl 5.10 Change Log
    |_ More Resources
    |_ License and Copyright




Advertise Jobs

< Web Server Configuration ActivePerl 5.6 Change Log >


Contents

What is ActivePerl?

ActivePerl is a quality-assured binary build of Perl, available for AIX, HP-UX, Linux, Mac OS X, Solaris and Windows.

The complete ActivePerl Package contains:

  • Perl - binary of core perl distribution
  • Perl Package Manager - Perl extension installer and manager.
  • Complete Online documentation

The Windows version also includes:

  • Perl for ISAPI - an IIS plug-in that makes Perl CGI scripts run faster
  • PerlScript - an ActiveX scripting engine, like that used for JavaScript or VBScript, but with a Perl interpreter
  • PerlEz - Embedded Perl

Getting Started on Windows

Running Perl scripts from the command line

To run your Perl scripts, enter the following command at the command prompt:

perl -w yourscriptname.pl

Where yourscriptname.pl is the name of the script you want to run. If you are using Windows and have associated the extension of the file with Perl, typing yourscriptname.pl (that is, without calling perl first) will also launch the script.

Sample Script

In the /eg directory of your Perl install there is a sample script named example.pl. To run it, launch a console window (command prompt), navigate to the /eg directory, and type:

perl example.pl

You should see:

"Hello from ActivePerl!"

If you do, you have successfully installed ActivePerl! If not, there's something wrong with your installation. Check to make sure that your PATH environment variable includes the directories to which you installed the Perl core binaries. You can type set at the command prompt to see what's in your Path. If you chose the defaults during the install, these should be set to the correct values for you when you start a new command prompt window. If you continue to have problems, refer to the Installation Guide.

Note: Typing perl -h will print a screen of all of the available command line options.

Troubleshooting ActivePerl

ActivePerl includes a collection of Frequently Asked Questions about ActivePerl. The FAQ is a valuable source of distilled information about using Perl. It is a must read!

The Perl FAQ, which is also included in the ActivePerl documentation, answers many questions regarding the use of Perl.

Search the ActivePerl Mailing List archives for information about your problem. Before posting to the mailing list, ensure that you have thoroughly read the FAQs and the relevant Perl documentation.

See More Resources for additional sources of information.


< Web Server Configuration ActivePerl 5.6 Change Log >


What's New

Komodo IDE 4.2
Learn more | Download

Komodo Edit 4.2
Learn more | Download

Tcl Dev Kit 4.02
Learn more | Download

ActivePython 2.5.1.1
Learn more | Download

Perl Dev Kit 7.0
Learn more | Download

ActiveTcl 8.5.0 Beta 9
Learn more | Download

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2006 ActiveState Software Inc. All rights reserved.