Perl Intermediate Class
Perhaps one of the most important features of Perl is its vast library of prewritten modules. Taking advantage of this
library requires understanding and skill with the Perl language.
Intermediate Perl is Part 2 of our five-day Perl training, and can be taken as part of or independently from our five-day package.
Command-line Options & the Perl Debugger
Using the Perl interpreter effectively means having a solid understanding of command-line options, called switches, which change the way Perl normally operates when you run it. Here, you will learn to set switches to:
Working with Arrays in Perl
Working with lists is a critical programming activity, and Perl uses both arrays and "hashes," known as associative arrays, to store a list of values. In this portion of our Perl training, you will learn to create arrays and hashes, work with them, and retrieve values based on either their name or position. You will know how to:
Subroutines & Include Files
Subroutines are the building blocks of Perl, and using them will allow you to organize code that performs a specific task in one place. Our instructor walks you through the ins and outs of subroutines, and shows how you can include them from other files. When you have completed this section, you will know how to:
File Input & Output in Perl
One of the benefits of using Perl is its powerful file I/O features, which allow you to quickly and easily read text from a file and change its contents. Our instructor presents a real-world example, showing how you can open a phone book, retrieve contact information, and modify that phone book. After your training in Perl's file input and output features, you will be able to:
Scoping, Namespaces, & Modules
With the thousands of Perl modules available, you will want to include modules from others as well as create your own. One pitfall, however, is that your code can unintentionally affect these so-called "black boxes." If you don't define a scope for your variables you run the risk of overwriting important information between your variables and the modules' variables. Our instructor introduces you to lexical scoping and describes the three scoping operators that will insulate your code. You will also learn how to use namespaces to protect code in modules. Completing this critical session of our intermediate Perl training will enable you to:
With the thousands of Perl modules available on the Comprehensive Perl Archive Network (CPAN), you will want to begin exploring this vast library of useful modules. In this session you will examine several well-known modules, including popular ones such as LWP::Simple, Mail::Sendmail, and CGI. When you have finished this training you will know how to:
Intermediate Perl classes are offered at four locations::