All HOTT courses are available face-to-face, remote-live, on-demand or on-site at your facility.
This hands-on Perl Programming course presents a thorough introduction to the Perl scripting language emphasizing the rapid development of portable and modular Perl programs and scripts. Students are introduced to all major language elements including built-in data types, powerful operators, flow control and robust built-in functions. The course also covers the use of command line processing, file and directory I/O to create flexible and user friendly programs. Attendees will also be introduced to object-oriented programming in Perl as well as how to use pattern matching with Regular Expressions and string handling functions to manipulate files and data. Students will learn to create reusable code using subroutines, modules, and Perl's object-oriented architecture to deploy business logic across many programs and scripts to enhance maintainability and scalability.
Students will also learn to use the DBI Perl module to write programs that provide a consistent database interface independent of the actual database being used. Comprehensive hands on exercises will be completed throughout the course to reinforce key concepts and practice debugging techniques. Students are shown how to extend Perl's basic functionality with packages and loadable modules.
Students Will Learn
- Writing Perl scripts
- Using Perl to read from and write to files
- Using arrays, hashes and scalars to create robust Perl programs
- Using arithmetic, assignment, comparison and logical operators in Perl
- Writing clear and concise regular expressions
- Creating subroutines to promote cleaner code
- Controlling Perl program flow using conditional constructs and loops
- Creating hard and anonymous references
- Manipulating lists
- Debugging Perl scripts for optimum performance
- Writing Perl scripts that process script arguments
- Implementing pattern matching in Perl scripts using regular expressions
- Writing Perl Programs that access a Relational Database
Course Prerequisites
Prior scripting experience or knowledge of fundamental programming concepts.
Course Overview
- Introduction to Perl
- Getting Started With Perl
- Using Variables
- Pattern Matching in Perl
- Operators
- String Manipulation
- Flow Control: Conditional Statements and Looping
- Subroutines and Parameters
- Arrays and Hashes
- Packages and Modules
- File and Directory I/O
- Input/Output Processing
- Implementing Command Line Arguments
- Perl Report Formatting
- Debugging In Perl
- References
- Accessing a Database Using Perl DBI
- Perl Object Oriented Programming
Note: Classes do not have fixed location. Prior to each class they examine the geographical location of the enrolled students and then select a venue that will provide most convenient overall access for the students. Classes are held in hotel conference rooms and exact location is determined 2 weeks prior to the course date.