Length: 3 Days
OVERVIEW
This three-day programming workshop provides programmers with the knowledge to create Perl scripts. Students will develop experience to automate system tasks via hands-on programming exercises, in conjunction with a lecture.
PRE-REQUISITES
Prior to attending this class, students should have the following experience:
- Programming experience in a structured language (C, C++, Java, Cobol) is required.
OBJECTIVES
Upon successful completion of this course, students should:
- be able to perform operations on scalar values
- know how to use scalar, array and associative array variables
- be able to use flow control statements such as if, unless, while, until, for and for each
- know how to use conditional expressions such as numeric and string comparison, regular expressions, file testing and Perl statements
- be able to create and use file handles to read and write directly to files
- know how to create format statements to make formatted output
- be able to use regular expressions to search for and replace sub-strings within a string
- be able to use Perl utilities such as split, join, index and substr
- be able to control the file system and processes from within a Perl script
- know how to create and use functions including handling the scope of variables
- be able to import existing modules into your Perl script
COURSE TOPICS
| Module One | Meet Perl |
| Module Two | Handling Numbers and Strings (scalar values) |
| Module Three | Using Variables |
| Module Four | Flow Control |
| Module Five | Conditional Expressions |
| Module Six | Basic Input and Output |
| Module Seven | Advanced Input and Output |
| Module Eight | Pattern Matching |
| Module Nine | Perl Utilities |
| Module Ten | Filesystem & Process Control |
| Module Eleven | Functions |
| Module Twelve | Using Modules |
| Module Thirteen | Debugging Perl |
WRAP-UP
Q&A
