A hands on introduction to programming in Perl.
Anyone wishing to learn Perl.
None although experience in another high level language would be useful.
5 days
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".
Scalars, data types, $_, strings and numbers, assignment, constants, strict, scope, STDIN.
Number operators, string operators, precedence and associativity, converting numbers and strings, shortcut operators.
Blocks, if, else, elseif, unless, foreach, while, for do, until.
What are regular expressions? Pattern matching, Perl as a filter, file editing.
Comparing strings, concatenating, substrings, chomp, chop, formatting, string manipulation.
Comparing strings, concatenating, substrings, chomp, chop, formatting, string manipulation.
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.
Simple file handling, open, close, <FILEHANDLE>, <>, file tests, directory access, directory handles, database access, packing and packing binary data.
STDIN, STDOUT and STDERR, Command line arguments,@ARGV.
The built in debugger, running the debugger, debugger commands, graphical debuggers. Script syntax errors, single stepping, breakpoints, watches.
CPAN, Finding modules, installing modules, using modules, scope.
Formats, defining a format, invoking a format, field holders.
System interaction, system(), exec(), signals. Security issues.
"Hard concepts were explained very simply."
"I’ve found it very useful and the course was very well put together and delivered."
This structured training course seeks to build upon workbook learning through the use of group exercises, dynamic discussion and individual tasks in order to deliver an engaging and interactive module that will ensure all candidates are able to transfer their new skills into the workplace.