// Internet Duct Tape

Using Perl on Windows Part 1: Installing ActiveState Perl

Posted in Microsoft Windows XP and Vista, Perl, Technology by engtech on September 08, 2006

When I want to get something done with Windows XP, I have a habit of using Perl because I’m very familiar with it (I’m a Unix geek).

Luckily, Perl is available as a Windows executable thanks to the people at ActiveState. This guide will show you how to install ActiveState Perl on Windows.

Installing Perl isn’t hard, but I plan to make some scripts available for people unfamiliar with Perl. This guide is intended for them.

A (Brief) Primer

Perl is a scripting language. When you download a Perl script, you are downloading a text file written in the Perl language. It needs a program called an interpreter to run. ActiveState Perl is a version of the Perl interpreter for Windows that will allow you to run Perl scripts on your Windows computer.

Perl is safe. Being able to run Perl scripts does not expose your computer to any vulnerabilities. There aren’t any web browsers or email programs that run Perl scripts automatically, unlike VBScript (Visual Basic Scripts used by Microsoft products — the source of all those virii with Outlook, Excel, Word, etc).

Installation Instructions

  1. Visit the download section of the ActivePerl website.
  2. Download the highest current version number (5.8.8.817 at time of writing this article).
    • Do not chose a Beta version.
    • perl01.png
  3. On the following web page, leave the registration form empty and click Next.
    • perl02.png
  4. You will be presented with a versions of ActivePerl for different operating systems. Choose the version for Windows.
    • You can chose the “AS Package” (self-installer) or the MSI (Microsoft Installer). I recommend MSI.
    • If you are running Windows NT or Windows 95 there are special options for you on the right side of the page (not shown in screenshot). I also recommend getting a new computer.
    • perl03.png
  5. Save the .msi somewhere on your hard drive, and run it.
    • perl04.png
  6. The installation process is VERY simple. Keep pressing Next.
    • I didn’t include screen captures of every dialog box.
    • If you need to see screen captures of all of the dialog boxes, see the about.com guide (see below)
    • perl05.png
  7. You’re done! See how painless it is?
    • Now you can run Perl scripts (files with the .pl extension) by double-clicking on them.

Coming soon: Part 2 installing modules from CPAN.

Other People’s Guides to Installing Perl on Windows


Related Posts

  • Other posts tagged with Perl
  • Standford University’s Essential Perl course (the basic constructs, 23 pages)

2 Responses

Subscribe to comments with RSS.

  1. dhiraj said, on March 28, 2007 at 8:57 pm

    how to run perl script on windows vista

  2. Mashutosh said, on May 08, 2007 at 3:34 pm

    how to start after installling.


Comments are closed.

Follow

Get every new post delivered to your Inbox.

Join 280 other followers

%d bloggers like this: