J2EEOnline J2EE





Perl Programming   «Prev  Next»
Lesson 3 Obtaining Perl from the Web.
Objective Download perl for your system.

Obtaining Perl from the Web

To complete the exercises in this course, you will need a copy of perl for your system.

Perl already installed

If you already have perl installed and running on your machine.
Go to the lesson in this module entitled Hello, World! in which you will run a simple Perl script.
To find out if you already have perl, try typing
perl -v

into a command-line prompt on your system.

Open DOS prompt

If you are running Windows, you willl need to open a DOS prompt.
To do this, click the
  1. Start
  2. Menu >>
  3. Programs >>
  4. MS-DOS Prompt.
If you have perl, the response you get will look something like this:


This is perl, version 5.003 
with EMBED built under solaris
at Dec 23 1996 15:19:42
+ suidperl security patch

Copyright 1987-1996, Larry Wall

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.0 source kit. 

Running MacPerl

If you are using a Mac, search for the MacPerl application anywhere on your system.
If you have MacPerl on your machine, you can find the version number by single-clicking on the application and selecting Get Info from the File menu.

If the version number that you see on your screen is less than 5.003, you will need to upgrade your perlbefore proceeding. If you get a message that says "unrecognized command" or something similar, then you either do not have perlor it is not installed correctly.
If you do have perl, and the version number is 5.003 or greater, then you can skip the next lesson.

Download perl

If you do not have perlor need to get a new copy, here is the download information.