Course Description
This three-day Perl Programming Intermediate training course enables students to progress from basic-level Perl programming concepts to more advanced Perl programming features.
Pre-requisites
Programming experience in a structured language, such as C, C++, Java, or COBOL, is required as well as a basic familiarity with the Perl language. Perl Programming Introduction or equivalent experience.
Who is this course for?
For Software Developers, System Administrators, Software Testers, and Users who are already familiar with the Perl programming language.
Further Training
After some further on-the-job experience with the Perl language, we recommend students attend our
Perl Programming Advanced course to gain higher-level skills in the usage of Perl.
Course content
Advanced Regular Expressions
Review: Basic Regular Expressions
Modifiers
Getting the Nth Occurrence of a Match
Greedy vs. No-Greedy Matches
Regular Expression Variables
Special Characters in Regular Expressions
Assertions
Reading from Filehandles Using Split
Multiple Line Matching
Commenting Regular Expressions
Alternative Delimiters
Additional Resources
Modifiers
Getting the Nth Occurrence of a Match
Greedy vs. No-Greedy Matches
Regular Expression Variables
Special Characters in Regular Expressions
Assertions
Reading from Filehandles Using Split
Multiple Line Matching
Commenting Regular Expressions
Alternative Delimiters
Additional Resources
Advanced Formatted Output
Review: The Format Statement
Advanced Format Statement Features
printf and sprintf
Using Select
The <> Operator
Additional Resources
Advanced Format Statement Features
printf and sprintf
Using Select
The <> Operator
Additional Resources
Exploring Useful Built-In Variables
Perl’s Built-In Variables
Variables Reference Chart
Use English
ID Variables
Status variables
Separator Variables
The Signal Handle Variable
Version of Perl
Program Start Time
Additional Resources
Variables Reference Chart
Use English
ID Variables
Status variables
Separator Variables
The Signal Handle Variable
Version of Perl
Program Start Time
Additional Resources
Advanced File Handling
Review: Basic File Handling
Displaying the File Position
Moving the File Position
Opening Files for Reading and Writing
Making “Files” within Your Script
Locking Files
Flushing Output Buffers
Additional Resources
Displaying the File Position
Moving the File Position
Opening Files for Reading and Writing
Making “Files” within Your Script
Locking Files
Flushing Output Buffers
Additional Resources
Pragmas
Perl Pragmas
Pragma Chart
Review: use strict
Predeclaring Subroutines
Predeclaring Global Variables
Additional Resources
Pragma Chart
Review: use strict
Predeclaring Subroutines
Predeclaring Global Variables
Additional Resources
Exploring Useful Built-In Modules
Built-In Modules
Module Table
Cwd
Env
File
Math
Sys
Text
Fatal
Additional Resources
Module Table
Cwd
Env
File
Math
Sys
Text
Fatal
Additional Resources
Debugging Tools
Review: The –w Switch
Review: The Perl Debugger
Debugger Commands
Diagnostics
Carp
Data::Dumper
Additional Resources
Review: The Perl Debugger
Debugger Commands
Diagnostics
Carp
Data::Dumper
Additional Resources
Perl/TK Basics
Working with Windows
Types of Widgets
Geometry Managers
Creating Widgets
The OO Nature of the Tk Module
Additional Resources
Types of Widgets
Geometry Managers
Creating Widgets
The OO Nature of the Tk Module
Additional Resources
Perl TK Widgets
Frames
Labels
Buttons
Checkbuttons
Radiobuttons
Listboxes
Scrollbars
Scales
Entries
Creating Menus
Additional Resources
Labels
Buttons
Checkbuttons
Radiobuttons
Listboxes
Scrollbars
Scales
Entries
Creating Menus
Additional Resources
Geometry Managers
pack Options
The –after and –before Option
The –anchor and –side Options
The –fill Option
Padding with Pack
Managing Widgets with Pack
Binding
The Focus Command
Additional Resources
The –after and –before Option
The –anchor and –side Options
The –fill Option
Padding with Pack
Managing Widgets with Pack
Binding
The Focus Command
Additional Resources
Database Interfaces
Perl Databases
Using DBM
Overview of DBI
Using DBM
Overview of DBI