Perl Jumpstart

Accelerated Technical Training for New Perl Programmers

About this Course

  1. Format
  2. Audience
  3. Objectives
  4. Prerequisites
  5. Method
  6. References
  7. Classroom Setup
  8. Site

Format

Audience

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

Experience programming in other languages is assumed.

Please see Prerequisites, below.

Objectives

It teaches you to:
  • Write and run Perl scripts, on Unix or NT
  • Perform I/O
  • Use Perl's control structures
  • Process a variety of data and file types
  • Use Perl's built-in variables and operators
  • Write object-oriented Perl code
  • Handle errors, generate messages, terminate gracefully
  • Use Perl's debugger

Detailed Objectives

You will practice and learn 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

Prerequisites

Check the boxes for the prerequisites you satisfy.
  • 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
  • Familiarity with the programming platform:
    invoking commands at the command-line prompt
    navigating the filesystem
  • Fundamentals of shell programming -- at least a smattering of:
    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 have checked eight or more, you're well-equipped to take this class!

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 (to our knowledge) covers this much material this quickly. Attendees emerge with practical skills and are indeed able to write Perl programs of their own, yet they are away from their desks for a minimum time.

References

Classroom Setup

For effective delivery of this course, the classroom should be equipped with:
  • A whiteboard or flipchart
  • A PC or workstation for each student (Unix, Windows 95, or Windows NT)
  • A PC or workstation 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 -- here's where to get it
  • Here are detailed instructions

Site

The course can be taught in your classroom, anywhere in the world. Travel outside the San Francisco Bay Area requires reimbursement of the instructor's travel expense.

Copyright © 2020

Dan Keller Technical Services
2248 International Blvd., Oakland
California, USA 94606
tel: 415 / 861-4500