Perl Online Training
- Overview of Perl
- What is Perl?
- Running Perl Programs
- Sample Program
- Another Sample Program
- Yet Another Example
- Perl Variables
- Three Data Types
- Variable Names and Syntax
- Variable Naming
- Lists
- Scalar and List Contexts
- The Repetition Operator
- Arrays and Hashes
- Arrays
- Array Functions
- The foreach Loop
- The @ARGV Array
- The grep Function
- Array Slices
- Hashes
- Hash Functions
- Scalar and List Contexts Revisited
- Quoting and Interpolation
- String Literals
- Interpolation
- Array Substitution and Join
- Backslashes and Single Quotes
- Quotation Operators
- Command Substitution
- Here Documents
- Operators
- Perl Operators
- Operators, Functions and Precedence
- File Test Operators
- Assignment Operator Notations
- The Range Operator
- Flow Control
- Simple Statements
- Simple Statement Modifiers
- Compound Statements
- The next, last, and redo Statements
- The for Loop
- The foreach Loop
- I/O: Input Operations and File I/O
- Overview of File I/O
- The open Function
- The Input Operator < >
- Default Input Operator
- The print Function
- Reading Directories
- Regular Expressions
- Pattern Matching Overview
- The Substitution Operator
- Regular Expressions
- Special Characters
- Quantifiers (*, +, ?, {})
- Assertions (^, $, \b, \B)
- Advanced Regular Expressions
- Substrings
- Substrings in List Context
- RE Special Variables
- RE Options
- Multi-line REs
- Substituting with an Expression
- Perl RE Extensions
- Subroutines
- Overview of Subroutines
- Passing Arguments
- Private Variables
- Returning Values
- References
- References
- Creating References
- Using References
- Passing References as Arguments to Subroutines
- Anonymous Composers
- 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
- And So On...
- Packages and Modules
- Packages
- BEGIN and END Routines
- require vs. use
- Modules
- The bless Function