Microsoft KB Archive/323960

= HOW TO: Install Perl for a UNIX-to-Windows Migration =

Article ID: 323960

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Small Business Server 2000 Standard Edition
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q323960



IN THIS TASK
SUMMARY
 * Installing the ActivePerl Distribution Package
 * Learning about Perl

REFERENCES



SUMMARY
Perl is the leading scripting language that is used for developing dynamic Web sites under the UNIX platform. The Perl language is mostly cross-platform aware. Unless you are using many UNIX-specific features, most scripts are easily migrated to the Windows platform. This article describes how to install the Perl language interpreter and configure the Internet Information Services (IIS) server to use Perl for CGI scripts, how to use Perl scripts as an ISAPI filter, and how to configure Perl to act as an accepted language for Active Server Pages (ASP) processing.

back to the top

Installing the ActivePerl Distribution Package
To obtain ActivePerl software, which is a special version of the Perl language interpreter that is designed to work under Windows and with additional Windows specific extensions, visit the following ActiveState Web site to download the ActivePerl installer:

http://www.activestate.com/

ActivePerl version numbers use the same version numbering system as the main Perl distribution package. However, ActivePerl also gives a &quot;build&quot; number, which indicates the specific build (which incorporates new features, enhancements, and bug fixes). For example, the full ActivePerl distribution package may be referred to as ActivePerl 5.6.1 Build 631. Microsoft recommends that you always select the latest stable build of the ActivePerl distribution package.

To install the ActivePerl software:  Log on to the Web server computer as an administrator. Download the ActivePerl installer from the following ActiveState Web site:

http://www.activestate.com/

 Double-click the ActivePerl installer. After the installer confirms the version of ActivePerl that it is going to be installed, click Next. If you agree with the terms of the license agreement, click I accept the terms in the license agreement, and then click Next.

Click Cancel if you do not accept the license agreement. If you do so, you cannot continue the installation. To install the whole ActivePerl distribution package (this step is recommended), click Next to continue the installation.

The software is installed in the default location (typically C:\Perl). To customize the individual components or to change the installation folder, follow the instructions that appear on the screen.</li> When you are prompted to confirm the addition features that you want to configure during the installation, click any of the following settings, and then click Next: <ul> Add Perl to the PATH environment variable: Click this setting if you want to use Perl in a command prompt without requiring the full path to the Perl interpreter.</li> Create Perl file extension association: Click this setting if you want to allow Perl scripts to be automatically run when you use a file that has the Perl file name extension (.pl) as a command name.</li> Create IIS script mapping for Perl: Click this setting to configure IIS to identify Perl scripts as executable CGI programs according to their file name extension.</li> Create IIS script mapping for Perl ISAPI: Click this setting to use Perl scripts as an ISAPI filter.</li></ul> </li> Click Install to start the installation process.</li> After the installation has completed, click Finish.</li></ol>

back to the top

Learning about Perl
ActivePerl comes with a complete set of Perl documentation, including some tutorials and guides, How-Tos and FAQ documents. To access the documentation, click Start, point to Programs, point to ActiveState ActivePerl  (where   is the version number), and then click Documentation. The documentation is in the form of HTML Help documents, which you can browse, search, and bookmark different sections of the documentation.

back to the top

<div class="references_section">