Installing ActivePerl v5.18.1 on Windows Systems

This section provides a tutorial example on how to install ActivePerl v5.18.1 on a Windows 7 system.

If you are using a Windows system and want to run Perl scripts, you can install the free binary package, ActivePerl, provided by ActiveState. Here is what I did to install ActivePerl v5.18.1 on a Windows 7 system.

1. Go to http://www.activestate.com/activeperl, scroll to the end of the page, and click the download button in the "Community Edition" box.

2. Click on "Windows Installer (MSI)" next to "5.18.1.1800" in the "Windows (x86)" and in the "Download Perl: Other Platforms and Versions" section.

3. Double click on the downloaded file name: ActivePerl-5.18.1.1800-MSWin32-x86-64int-297570.msi, and follow the installation tool to install ActivePerl to your hard drive at C:\perl.

4. Open a command window, and type in "perl -v". If you see the following output, your installation is ok.

C:\herong>perl -v
This is perl 5, version 18, subversion 1 (v5.18.1) built for 
MSWin32-x86-multi-thread-64int
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Binary build 1800 [297570] provided by ActiveState 
http://www.ActiveState.com
Built Sep 20 2013 11:40:34

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

...

Note that if you have an older version of ActivePerl installed on your Windows system, you should uninstalled it first and remove the content of the folder: C:\perl, before installing the new version.

Last update: 2014.

Table of Contents

 About This Book

 Perl on Linux Systems

ActivePerl on Windows Systems

 What Is ActivePerl?

Installing ActivePerl v5.18.1 on Windows Systems

 Running Perl Scripts on Windows Systems

 Installing ActivePerl v5.8.8 on Windows Systems

 Data Types: Values and Variables

 Expressions, Operations and Simple Statements

 User Defined Subroutines

 Perl Built-in Debugger

 Name Spaces and Perl Module Files

 Symbolic (or Soft) References

 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 Files in Binary Mode

 Open Directories and Read File Names

 File System Functions and Operations

 Converting Perl Script to Executable Binary

 Using DBM Database Files

 Using MySQL Database Server

 Socket Communication Over the Internet

 XML::Simple Module - XML Parser and Generator

 XML Communication Model

 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

 References

 PDF Printing Version