Perl Programming on Unix Training in West Des Moines

Enroll in or hire us to teach our Perl Programming on Unix class in West Des Moines, Iowa by calling us @303.377.6176. Like all HSG classes, Perl Programming on Unix may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Perl Programming on Unix may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

Perl has been described as C, awk, sed, and shell programming all wrapped into one language. Learn how to take advantage of Perl's power through examples and extensive hands-on exercises. This course introduces object-oriented programming in Perl.
Course Length: 5 Days
Course Tuition: $2090 (US)


Fundamentals of UNIX. C Programming is recommended.

Course Outline


Overview of Perl
What is Perl?
Running Perl Programs
Example Programs

Perl Variables
Three Types of Variables
Variable Names and Syntax
Variable Naming
Scalar and List Contexts
The Repetition Operator

Arrays and Hashes
Example - The @ARGV Array
Array Functions
Array Slices
Hash Functions
Scalar and List Contexts Revisited

I/O: Input Operations and File I/O
The open Function
The Input Operator
Default Input Operator
The print Function
File Operation Functions
Reading Directories

Perl operators
Operators, Functions and Precedence
File Test Operators
Assignment Operator Notations
The Range Operator
Quotation Operators
Pattern Matching Operators

Flow Control
Simple Statements
Simple Statement Modifiers
Compound Statements
The next, last and redo Statements
The for Loop
The foreach Loop

Regular Expressions
Pattern Matching Overview
The Substitution Operator
Regular Expressions
Special Characters
Quantifiers (*, +, ?, {})
Assertions (^, $, \b, \B)

Overview of Subroutines
Passing Arguments
Local Variables
Passing Names
Returning Values

Quoting and Interpolation
String Literals
Array Substitution
Backslashes and Single Quotes
Command Substitution
Here Documents

Creating References
Using References
Passing References as Arguments to Subroutines
Anonymous Composers
Hard References as Hash Keys
The Symbol Table

Complex Data Structures
Two-dimensional Arrays in Perl
Anonymous Arrays and Anonymous Hashes
Arrays of Arrays
Arrays of References
A Hash of Arrays
A Hash of Hashes
 Packages and Modules
BEGIN and END Routines
require vs. use
The bless Function

Object-Oriented Programming in Perl
What is Object-Oriented?
Why Use Object-Oriented Programming?
Classes, Objects, and Methods in Perl
Inheritance, the "is-a" Relationship
Containment, the "has-a" Relationship
Overloaded Operators

Advanced Regular Expressions
Substrings in List Context
RE Special Variables
RE Options
Multiline Res
Substituting with an Expression

Binary Data Structures
Variable-Length (Delimited) Fields
Variable vs. Fixed
Handling Binary Data
The pack() Function
The unpack() function
The read () Function
C Data Structures

Multitasking with Perl
What are Single and Multitasking?
UNIX Multitasking Concepts
Process Creation with fork
Program Loading with exec()
File Descriptor Inheritance
How UNIX Opens Files
One-Way Data Flow - Pipes
Final Result - Page Viewing

Sockets Programming in Perl
Clients and Servers
Ports and Services
Berkeley Sockets
Data Structures of the Sockets API
Socket System Calls
Generic Client/Server Models
A Little Web Server

Appendix 1 - The Perl Distribution
Where Can You Get Perl?
How Do You Build Perl?
What Gets Created and Installed?
Differences Between Platforms

Appendix 2 - The Perl Debugger
Overview of the Perl debugger
Debugger Commands
Non-Debugger Commands
Listing Lines
Single Stepping
Setting and Clearing Breakpoints
Modifying the Debugger
The -w and -D Flags

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.