Web Resources

DataExpressions inc

Website Development Resources

Bookmark our site
Google
 

Introduction to Perl Programming - Learn Perl

CGI/Perl Examples & Education

Foundations in Perl Programming

The following are materials for a classroom based course I did about 4-5 years ago on Perl programming. I have placed these materials in the public domain for non-commercial use.

Foundations in Perl Main Manual (PDF)

Perl Foundations Week 1 Powerpoint (PDF)

Perl Foundations Week 2 Powerpoint (PDF)

Perl Foundations Week 3 Powerpoint (PDF)

Perl Foundations Week 4 Powerpoint (PDF)

Perl Foundations Week 5 Powerpoint (PDF)

Code examples (ZIP)

Topics

  • Bare Minimum
    • Running a program
    • Print function
    • Getting input from terminal
    • Scalars (variables)
    • Operators
    • Conditional logic
    • Loops
    • File IO
    • Arrays
    • Pattern matching
    • Subroutines
    • Chop and Chomp
  • More on scalars
    • Legal names
    • Assignment
    • Scope persistance
  • More on arrays
    • Pushing
    • Popping
    • Reversing
    • Shifting/Unshifting
  • More on subroutines
    • Declaration
    • Calling
    • Passing parameters
    • Using a variable number of arguments
    • Scope
    • Static variables
    • Retruning values
    • Recursion
  • Regular Expressions
    • How a regex matches
    • Framework to match within
    • Qauntifiers
    • Character class
    • Parethesis and alternatiob
    • Greed
  • Hashes
    • Creating hashes
    • Adding and element to a hash
    • Deleting a hash element
    • Get hash values
    • Get both values and keys
    • Reversing values and keys in a hash
    • Sorting a hash
    • Merging two hashes
  • Basic Debugging
    • Listing source code
    • Stepping
    • Variables
    • Commands
    • Breakpoints
    • Resume
    • Returning from a subroutine
    • Tracing a call
    • Watching a variable
    • Writing code while in debugger
  • Misc
    • Entering values in hex
    • Bit manipulation
    • Random numbers








Copyright 2006-2007 by Data Expressions inc --- All Rights Reserved

Links