Programming in Perl - Basic / Intermediate

Perl Training Overview

This course teaches both the programming interface and the techniques that can be used to write procedures in Perl (Practical Extraction and Report Language). Perl is now available for all system platforms, but is usually not provided by the system's manufacturer.

Perl Training Objectives

Each student will be able to use Perl techniques and commands to write scripts to perform various user and administrative tasks.

Perl Training Prerequisites

Completion of the Fundamentals of Unix: Getting Started course is assumed (if working on a Unix-based Perl platform. Usage of NOTEPAD for Win32-based Perl is assumed. A knowledge of awk is useful but not mandatory.

Perl Training Course duration

This course normally requires three (3) days, approximately 50% lecture and 50% lab time.

Perl Training Course outline

Overview of Perl

  • Purpose of the language
  • History of the development of Perl
  • Control capabilities:
  • files
  • processes
  • network
  • obtaining Perl and building / installing
  • obtaining modules from CPAN
Writing Perl Scripts
  • Layout of a Perl procedure
  • Execution methods
  • Types of variables
    • scalars
    • lists (arrays)
    • associative arrays (hashes)
    • Perl built-ins
    • globals
Operators
  • precedence
  • arithmetic
  • increment/decrement pattern matching
  • relational
  • conditional
  • assignment
Perl Programming Constructs
  • Looping statements
  • Decision statements
Perl Expressions
  • Regular expressions review
  • Expressions common to Perl/Unix
  • Expressions unique to Perl
Perl File I/O
  • Using ARGV value(s)
  • Using Filehandles
Interfacing Perl with the Operating System
  • System calls
  • Process control
  • File manipulation
  • Adding and using (contributed) Perl modules
Subroutines in Perl procedures
  • Using as functions
  • Passing arguments (scalars)
  • Passing arguments (arrays)
  • Introduction to references
Using Perl Extension Functions
  • Location of procedures
  • Types of extensions
  • The require statement
  • The use statement

Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy