Advanced Perl

Accelerated Technical Training

Overview

Ready for the next step? If you've been programming in Perl for a while, you're ready to start using Perl's numerous advanced techniques -- the interactive debugger, references, DBM files, modules, and more. Join the ranks of the Perl gurus!

The popularity of the Perl programming language is growing dramatically. It has proven itself an effective tool for solving a variety of programming problems including text processing, web site construction, data management, networked applications, etc. Its advanced features include object-oriented classes and methods, indexed (DBM) files, huge collections of reusable code modules available (CPAN), and more. Using these features improves your productivity as a Perl programmer and enables you to build programs that are powerful yet concise.

Duration

1 days

Courseware

Format

  • emphasis on practical skills
  • hands-on
  • workbook
  • web-based materials

Audience

  • Perl programmers who want to master the language's advanced features
  • webmasters
  • Prerequisites

    Check the ones your background satisfies:
    Basic Perl concepts: variables, control of flow (loops, branches), input/output, functions (subroutines)
    Compound data structures: arrays, lists, hashes
    Regular expressions
    Use of a text editor (any editor available in the classroom is ok, e.g. Notepad on NT, vi on Unix, etc.)
    Familiarity with the programming platform: writing and running scripts, invoking commands at the command-line, command-line options and arguments, navigating the filesystem
    Basic notions of I/O in Unix or NT: standard in/out/error
    If you checked 8 or more, you're well-equipped to take this class.

    Contents

    Chapter 1: Perl's Debugger

    Chapter 2: References and Data Structures

    Chapter 3: Using Modules

    Chapter 4: Object-Oriented Perl: A Tk Application

    Chapter 5: Client-Server in Perl

    Chapter 6: Improving Performance with Tie and DBM

    Conclusion

      Objectives

      Upon completion of this course, you will be able to:
      • Use references to create and query complex data structures.
      • Construct and use packages, namespaces, and scoped variables.
      • Build new applications by reusing methods and functions from Perl modules.
      • Write object-oriented Perl.
      • Use Tk to build graphical user interfaces.
      • Implement client-server networking with sockets.
      • Simplify data storage and access with DBM files.
      • Profile program performance with Benchmark.

      Method

      The course consists of six chapters, each presenting one of Perl's advanced mechanisms. Each provides sample programs and discussion of the principles applied. Finally, each includes a hands-on exercise in which the student demonstrates grasp of the mechanism and principles.

      Programming is best learned by example. This presentation is task-oriented rather than the more common but less effective feature-oriented approach.

      Setup

      Delivery of this class requires:
      • classroom
      • a computer for each student
      • a computer for the instructor
      • a data projector for the instructor's computer screen
      • connection to the internet
      • a perl interpreter on each computer
      • Detailed system configuration instructions are available at http://www.keller.com/curric/perladv-setup.html
      Write to us! webmaster@keller.com
      http://dan-keller.com/training/curric/xml-versions/perladv.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