Perl Tutorial by Code Examples


Install ActivePerl into Windows

In many Unix/Linux machines, Perl is installed by default. You don't need to install Perl in these machines. In Windows machine, you need to install Perl.

Perl installation to Windows is very easy. You can use ActivePerl, which is configured for Windows. ActivePerl is provided by ActiveState corporation for free.

Download ActivePerl

Download ActivePerl(※1).

Download pageActivePerl

ActivePerl installation

Next, let's install ActivePerl. Double-click downloaded file. Installer start. Push "Next" button repeatedly. You can finish installation.

After installation, let's check ActivePerl is installed. You can check Perl version from command prompt. Execute command prompt from "Start" → "All programs" → "Accessory" → "Command prompt".

# Display version
perl -v

If you see the following output, installation is succeed.

This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Finally Perl installation is completed. In Windows, You use command prompt to execute Perl. If you want to know command prompt, see also Command Prompt tutorial.


※1 Although popup window is shown for News Letter subscription, you don't need to subscribe it. ".msi" extension represent Windows installer. 32bit version ActivePerl(ActivePerl(x86)) is generally stable. Even if you use 64bit Windows, You can install ActivePerl(x86).

Table of contents



トラックバック - http://d.hatena.ne.jp/perlcodesampleen/20080602/1212315135