Exercises, examples and other material relating to training module P255. This module is presented on Private Courses
and Specially Run Courses
Examples from our training material
|al1|| Passing a list in Perl|
|al2|| Passing by reference in Perl|
|al3|| Passing to an included file|
|allo|| Lists rather than arrays|
|c1|| Perl Context - another demonstration|
|cf|| A quick tool - web log filtering|
|cstr|| Writing Strings in Perl|
|demo|| Documentation for you Perl program|
|demo.html|| Sample output from pod2html|
|diane_horse|| Inverted blocks and less common conditionals|
|extras.pm|| Module forl use in al3 demo|
|fil_tar|| Filtering a log file for 'lua'|
|filer|| Directory Processing|
|flipper|| Reporting size and age of files|
|gdi|| Throwing a die question - sample answer|
|greet|| Regular Expression to match a floating point number|
|lidem|| List manipulation examples|
|lll1|| Log File Analysis|
|log2|| Analyse requests to our server by IP address|
|logger|| Filtering all matching lines from a log file|
|loglooker|| Further log file analysis|
|onion|| Look for IP addresses that have accesses common images|
|oops|| Reading from user, echo, calculation|
|pcode|| Filtering a log file for images|
|peephole|| Read data into a hash and sort keys|
|peeps.txt|| Sample Data|
|prg|| Lottery selection|
|self|| Using Perl for Sys Admin|
|skillstep|| Report on the first word on [each] line.|
|superls|| Report on recently modified files|
|xmas|| giving out Christmas money|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
What is Perl?.
How do I write and run Perl programs?.
Basic Program Structure.
Blocks, conditionals and loops.
Input and Output.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.