eWebProgrammer eweb  

Basic Perl Programming  «Prev  Next»
Lesson 1

Introduction to Perl

This course is for anyone who needs a results-oriented introduction to Perl 5.
It is designed to give you a solid background in the Perl language, covering all of its major features and functions.
Perl information
Perl Course goals
By working through the course lessons and exercises, you will gain the skills you need to:
  1. Write effective Perl programs for common system-administration tasks
  2. Take advantage of regular expressions--even in other languages
  3. Understand, use, and modify Perl programs written by other people
  4. Create quick, one-liner programs for simple everyday tasks
  5. Move on to the next course in the Programming in Perl Series, Advanced Perl for the Web.
Before we begin
Before we actually start, take a few minutes to go over the following:
  1. Course Perl Prerequisites
  2. Course Course Structure Learning Perl
  3. What you will need for this course
In the next lesson, some of the features of the Perl Programming Language will be covered.
Then, the following two lessons will walk you through the steps of downloading perl and installing it on your machine.

We will presume that you have already studied Learning Perl, using at least the fifth edition, or at least pretend you have, and that you have played enough with Perl to already have those basics down.
Make sure you know the following things.
  1. How to run a Perl program on your system
  2. The three basic Perl variable types: scalars, arrays, and hashes
  3. Control structures such as while, if, for, and foreach
  4. Subroutines
  5. Basic regular expressions
  6. List operators such as grep, map, sort, and print
  7. File manipulation such as open, file reading, and -X (file tests)
You might pick up deeper insight into these topics in this course, but we are going to presume you know the basics.
The final parts of this course deal with distributions and contributing to CPAN. To do that, you should apply for a PAUSE account now so itís ready to use when you get there.
JPY 53,000