Install and configure the Perl development environment in Windows

Source: Internet
Author: User
Tags install perl microsoft website

Perl is a practical abstract and report language that is favored by developers all over the world. Although it was born and developed on UNIX, it also has a place in the Windows programming field.

I. Overview

Under the leadership of companies such as ActiveState, Perl began to develop steadily in the middle of 1995. It not only added standard Perl features, but also added many windows-oriented features, for example, Ole and COM integration.

As a matter of fact, so far, all Perl programmers have been convinced that the Perl applications they write for Unix servers can run smoothly and stably after being transplanted to Windows servers, even fork's implementation of this type of long-standing biggest transplant problem has been solved.

We also have reason to believe that Perl/Windows integration will be further developed. Microsoft has become a major contributor since the beginning of Windows Perl development. This fact is sufficient to prove Microsoft's commitment to Perl support. According to the three-year investment agreement recently signed between Microsoft and ActiveState, Perl will undoubtedly become part of the future development of windows.

If you are looking for more information about Windows Perl, you can find many excellent websites on the Internet, including:

ActiveState
Perl.com
Aldo calpini & single; s Perl lab
Roth consulting Perl page
Evangelo prodromou & single; s Win32 Perl FAQ
Robin & single; s Perl for Win32 page

Whether you want to learn the core features of the Perl language on a Windows operating system or the following Perl integration tools for Windows, you must start from the same place, install Perl on Windows:

Using Perl to operate Ole (Object Linking and Embedding, object link and embedding ),
Manage the Windows registry through Perl,
Compile a COM Object (Component Object Model, Component Object Model) using Perl ),
Communicates with other COM objects in the Perl program,
Use Perl scripts to implement dynamic web pages in the IIS Environment
This article is a guide to installing and configuring the Perl Development Environment on Windows. Several subsequent articles will introduce Perl's windows-oriented functions in more depth.

However, before the official start, we must declare that the installation of Perl is not a simple process like "click to complete". On the contrary, adding Perl support for Windows is a repeating process. Thanks to the incredible development vigor of Perl, not only is its core language in the process of change, but new releases regularly emerge, as many Perl developers continuously release free new tools through resource collection websites such as CPAN, "installation" also means regular upgrades and close attention to the latest development of Perl.

As mentioned above, the core organization of Perl windows is ActiveState, and its home page is http://www.activestate.com.

Perl for windows can be downloaded from the ActiveState website. The product name is ActivePerl. The latest release of ActivePerl in this article is build 522, which can be downloaded directly from http://www.activestate.com/activeperl/download.htm.

For Windows users, download the Intel version. In addition, as pointed out on the download page, installing this software package on Windows 95 also requires DCOM support, which can be found on the Microsoft website. Download via HTTP or FTP is the same, no matter which method is used.

After the download is complete, you will have to extract the compressed execution file, as shown in api509.exe. You only need to double-click the execution file to start installation.

It must be noted that if Perl has been installed in the system and a process is using it during a new installation, the new installation process may not work properly, you will see a warning window.

In this case, you should immediately end the installation process, close all services/applications that may use Perl, and then install them again.

If you are using Windows NT and cannot determine which services are using Perl, you can open "start --> Settings --> control panel --> services" and check the list of services displayed by the system, find the services that may be using Perl. Close these services and then reinstall them.

Of course, most users do not need to worry about this issue. In fact, it is very likely that when you double-click to automatically decompress the execution file, you will see the ActiveState License Agreement statement.

After reading and accepting the license agreement, you will see the "Installation notes" window, which prompts you all the available Installation Options for ActivePerl. The description document contains multiple titles, each of which has a detailed explanation. These headers include:

Add the perl's BINLOG to the search box and associate the extension .pl;extension and perl.exe with the webserver. pl;and perl.exe with the ISAPI of IIS. PLX and the bottom of the Perl window ask if you have read and understood these instructions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.