This tutorial is a quick guide to the features and philosophy of the Perl programming language. It covers basic syntax, operators, data structures, control structures, I/O, references, subroutines, packages and modules, existing Perl libraries, debugging, and documentation.
Topics covered in the four-day version of this class include:
- A Brief History of Perl
- Getting and setting up Perl
- Data types
- Warnings and diagnostics
- Numeric, string, bitwise, and boolean operators
- Hashes (associative arrays)
- Control structures (if, for, while, etc.)
- References and nested data structures
- Perl's namespace mechanism
- Writing and using external source code modules
- The Perl standard library and the CPAN
- Built-in documentation tools
- Debugging Perl
The three-day version of the class covers most of the same above material, in somewhat less depth. The five day version of the class added hands-on programming exercises (and hence requires that students have access to a computer with Perl installed).
3 days seminar
5 days workshop
Programmers with experience in other languages (such as C, Java, Pascal, or Visual Basic), who have a basic knowledge of control structures, subroutines, I/O, and data structures.