Perl Training Overview
This three-day course provides the student with the knowledge of how to fully utilize Perl through the creation of advanced-level Perl scripts.
Perl Training Audience
Programmers or developers who want to optimize their use of Perl
Perl Training Prerequisites
Programming experience in a structured language, such as C, C++, Java, or COBOL, is required as well as a good working knowledge of the Perl language.
Perl Training Course duration
3 Days
Perl Training Course outline
Command Line Options
Introducing Command Line Options
Changing Input Record Separator
Create a Loop Around Your Script
Editing in Place
Syntax Checking
Pre-appending to @INC
Including Modules
Command Line Parsing
Displaying Configuration Information
Extracting Scripts from Messages
Additional Resources
References
What are References?
Creating References
Returning the Value from a Reference
The ref Function
Making Anonymous References
References to Functions
Use Strict ‘Refs’
Additional Resources
Advanced Data Types: Arrays
Review: What You Should Already Know About Arrays
What You Might Know About Arrays
Arrays of Arrays
Creating Arrays of Arrays
Accessing Values in an Array of Arrays
Adding a Sub Array (Row)
Adding a Column
Printing an Array of Arrays
Slices
Additional Resources
Advanced Data Types: Hashes
Review: What You Should Already Know About Hashes
What You Might Know About Hashes
Hashes of Hashes
Creating Hashes of Hashes
Accessing Values in a Hash of Hashes
Other Data Structures
Additional Resources
Typeglobs
Symbolic Tables
Typeglobs
Using Typeglobs
References vs. Typeglobs
Avoiding Aliases to Entire Identifier
Making Constants
Passing Filehandles into Functions
Redefining a Function
Temporarily Redefining a Function
Additional Resources
Advanced Subroutine Handling
Review: What You Should Already Know About Functions
What You Might Know About Functions
Making Persistent Function Variables
Using the Caller Function
Passing Arguments by Reference
Determining Functions Return Data
Returning Multiple Values
Exception Handling
Constant Functions
Prototypes
Additional Resources
Packages and Namespaces
Scope
Creating Namespaces with the Package Command
Fully Qualified Package Names
Nested Packages
Use Strict ‘Vars’
Identifiers Not Affected by Packages
Determine the Current Package
Packages vs My Variables
Additional Resources
Building Modules
Introduction to Perl Modules
Creating a Module
BEGIN and END Blocks
Symbol Tables in Modules
Exporting Identifiers from Modules
Private Identifiers
Oking Symbols to Export from Modules
Module Version Numbers
Use vs. Require
A Note About Library Files
Additional Resources
Installing CPAN Modules
What is CPAN?
Accessing CPAN
CPAN Organization
Installing a CPAN Module Manually
Installing CPAN Modules Using the CPAN Module
Using the Perl Package Manager to Install CPAN Modules
Listing What Modules are Currently Installed
Additional Resources
POD
Overview of POD
POD Commands
POD Text
POD Verbatim
Common POD Problems
POD Utilities
Additional Resources
|