Perl Jumpstart

Accelerated Technical Training

Duration

2 days

Courseware

Format

  • Emphasis on practical skills
  • Hands-on
  • Web-based materials

Audience

This class is for programmers who want to add Perl to their repertory of languages.

Prerequisites

Check the ones your background satisfies:
Some programming experience; any language is ok
Basic concepts: variables, control of flow (loops, branches), input/output, functions (subroutines)
Use of a text editor: any editor available in the classroom is ok (Notepad on NT, vi on Unix, etc.)
Invoking commands at the command-line prompt
Navigating the filesystem
Fundamentals of shell programming
Writing and running scripts
Regular expressions
Record- and field-oriented data processing
Command-line options and arguments
Basic notions of I/O in Unix or NT; standard in/out/error
Creating and managing files
If you checked 8 or more, you're well-equipped to take this class.

Objectives

Upon completion of this course, you will be able to:
  • Grasp the syntax of Perl
  • Invoke Perl
  • Interact with users through standard I/O
  • Do file I/O
  • Use various built-in functions
  • Embed comments in your code
  • Write loops, branches, and related control structures
  • Process text in a variety of powerful ways
  • Find, compare, and modify strings
  • Process list variables
  • Process arrays
  • Use regular expressions and the associated Perl operators
  • Use special features of Perl 5
  • Process command-line arguments
  • Use Perl's special built-in variables
  • Write modular code (subroutines and structure)
  • Grasp issues of Perl programming style
  • Apply the notion of scope
  • Generate attractively-formatted output
  • Use boolean operators
  • Pipe to Unix and NT utilities
  • Use associative arrays
  • Handle dbm files
  • Write object-oriented Perl code
  • Make your programs robust
  • Handle errors, generate messages, terminate gracefully
  • Use Perl's debugger

Method

With a series of practical examples that are increasingly sophisticated, this course teaches the foundations of Perl programming. Attendees construct a life-like data processing package for the hypothetical Joe's Garage. The essential components of the language are introduced as they are used to satisfy Joe's data management, entry, and reporting requirements.

Programming is best learned by example. This presentation is task-oriented rather than the more common but less effective feature-oriented approach. As each mechanism in the language is presented, it is clear why it is needed, and the example demonstrates it quickly.

No other Perl class covers this much material this quickly. Attendees emerge with practical skills -- they can write substantial Perl programs of their own -- after being away from their desks for a minimum time.

Setup

Delivery of this class requires:
  • A classroom
  • A whiteboard or flipchart
  • A computer for each student
  • Unix/Linux/Solaris/HP-UX or Windows 95/98/NT/2000)
  • A computer for the instructor
  • A data projector for the instructor's computer
  • A web browser on each computer
  • Connection to the Internet
  • Perl version 5.004 or later
  • Detailed system configuration instructions are available at http://www.keller.com/curric/perl-setup.html
Write to us! webmaster@keller.com
http://dan-keller.com/training/curric/xml-versions/perl.html
Updated Wednesday, 31-Oct-2001 13:18:39 MST

Copyright © DKTS
Dan Keller Technical Services
4500 19th St., San Francisco
California, USA 94114
voice: 415 / 861-4500