PERL TRAINING COURSE DESCRIPTION
A hands on introduction to programming in Perl.
WHAT WILL YOU LEARN
* Write Perl programs.
* Use Perl modules.
* Debug Perl programs.
* Examine existing code and determine its function.
PERL TRAINING COURSE DETAILS
* Who will benefit:
Anyone wishing to learn Perl.
* Prerequisites:
None although experience in another high level language would be useful.
* Duration
5 days
PERL TRAINING COURSE CONTENTS
* Introduction to Perl
What is Perl? When to use Perl, downloading Perl, installing Perl,
documentation, perldoc, running Perl, the Perl environment. Perl under UNIX,
Perl under Windows. "Hello world".
* Variables
Scalars, data types, $_, strings and numbers, assignment, constants, strict,
scope, STDIN.
* Operators
Number operators, string operators, precedence and associativity, converting
numbers and strings, shortcut operators.
* Flow control
Blocks, if, else, elseif, unless, foreach, while, for do, until.
* Regular expressions
What are regular expressions? Pattern matching, Perl as a filter, file
editing.
* Strings
Comparing strings, concatenating, substrings, chomp, chop, formatting, string
manipulation.
* Subroutines
Comparing strings, concatenating, substrings, chomp, chop, formatting, string
manipulation.
* Arrays and hashes
Working with arrays, element access, push(), pop(), shift(), unshift(),
<STDIN> as an array, associative arrays, hashes of arrays, hash references,
arrays of hashes, hashes of hashes.
* Files
Simple file handling, open, close, <FILEHANDLE>, <>, file tests, directory
access, directory handles, database access, packing and packing binary data.
* I/O
STDIN, STDOUT and STDERR, Command line arguments,@ARGV.
* Perl debugging
The built in debugger, running the debugger, debugger commands, graphical
debuggers. Script syntax errors, single stepping, breakpoints, watches.
* Packages and modules
CPAN, Finding modules, installing modules, using modules, scope.
* Report formatting
Formats, defining a format, invoking a format, field holders.
* Process management
System interaction, system(), exec(), signals. Security issues.