The fundamentals of the language.
This course covers the fundamentals of the Perl programming
for computer professionals who are new to the language. Starting from a
"Hello World" application, in the course of three days you'll get a taste
of the major elements of Perl and you'll start to use it in applications
as diverse as system admin tools, web scripting and heavy data manipulation.
This is an intensive Perl course that's designed for smaller groups in a
single organisation rather than public presentation. For public courses,
consider Learning to program in Perl
/ Perl Programming
Some programming or scripting skills.
Getting the most from your Well House Consultants course
Perl is a very widely used programming language indeed, but it's
name isn't well know outside the programming community as it's an open
source language that lack the marketing "hype" - it's just a superb
technical tool in a very wide variety of applications. It's name - PERL -
stands for the "Practical Extraction and Reporting language" which is
a pretty good sound-bite to tell you what it does.
A new release
of Perl - Perl 6 - has been undergoing development for a considerable time.
Our course covers Perl 5, and will continue to do so while it is dominant,
but also includes a short look ahead to Perl 6 so that new code developers
will be able to take advantage of it once it's available to them.
|Introduction (module P201) What is Perl?.
Perl is a computer language.
What does Perl cost?.
What is Perl used for?.
What computer do I need to run Perl?.
Is Perl loaded onto my computer?.
Perl on Unix (including Solaris and Mac OS X).
Perl on Linux.
Perl on Windows.
How do I find what version I have?.
Macintosh OS X.
Windows 98 / Windows 2000 / Windows NT / Windows XP.
Macintosh OS 9 and earlier.
Loading Perl (Windows XP).
Examples of Perl in use.
Screen locator and counter.
A changing web page.
|Perl Fundamentals (module P202) First Perl program.
Comments and documentation.
Variables and assignments.
Read from operator.
Strings v numbers.
|Conditionals and Loops (module P204) The "if" statement.
The "while" statement.
Add and assign.
Assignments within other statements.
More on the increment operator.
Ways of writing numbers.
|Initial String Handling (module P205) String handling functions.
String handling operators.
qq and q strings.
Comparing strings exactly.
Comparing strings to regular expressions.
|More Loops and Conditionals (module P206) The variety that is Perl.
More conditional statements.
If -- single statement rather than a block.
Unless -- an inverted if statement.
The ? : operator.
More loop statements.
The until loop.
Single statement while and until loops.
The for loop.
The do - while loop.
Breaking a loop.
The goto statement.
|File Handling (module P207) File input and output.
The open function.
Reading from a file handle.
Writing to a file handle.
Closing a file.
Other things you can handle through the file interface.
Floating point formats.
Formats for whole numbers (integers).
Formats for variable text strings.
|Lists (module P208) Basics.
Creating a list.
Referencing an element in a list.
Changing a list.
The length of a list.
Functions that operate on lists.
Functions that let you manipulate the elements within a list.
Functions that let you re-order a list (returning a new list).
Function to return the length of a list.
Operators that relate to lists.
Operators than manipulate strings and lists.
Iterating through a list.
|Subroutines in Perl (module P209) What are subroutines and why?.
The limitations of "single block code".
First use of subroutines.
Object oriented programming.
Calling a subroutine.
Passing values out of subroutines.
Passing values in to subroutines.
Writing your own subroutine.
Passing parameters in.
Writing subroutines in a separate file.
A test program:.
Writing a class - an introduction.
|Topicalization and Special Variables (module P210) Regular variables in Perl.
Special information variables and the English module.
Reading the command line in Perl.
Special variables that provide controls.
Output control variables.
Special variables provided by Perl operations.
Regular expression match information.
Other special variables you may come across.
Command line options.
|Hashes (module P211) Setting up a hash.
Accessing a hash.
The whole hash.
Processing every element of a hash.
Keys and values.
Ordering a hash (sorting).
Sorting using your own subroutine for comparison.
Operators cmp and <=>.
A more complex sort selector routine.
Sorting with a comparison block.
Looking for matching keys.
Use hashes for stock numbers.
Deleting elements, clearing out hashes.
|More on Character Strings (module P212) Summary to date.
Extracting information from a match.
$1, $2, etc.
Assign to a list.
$`, $& and $’.
More about regular expressions.
What else can I put in regular expressions?.
Global v Greedy.
Some favourite regular expressions.
To match an email address.
To match a UK Postcode.
To match an American Zip code.
To match a date (UK Style).
To match a time.
To match a complete URL for a web page.
To match a Visa number.
To match a Mastercard number.
To match a UK Phone number.
To match a UK car registration plate.
To match a UK national insurance number.
To match a book's ISBN number.
Substitute and execute.
Regular expression efficiency.
Handling binary text.
|Perl on the Web (module P221) The HTML form.
The reply page.
The power of using Perl on the Web.
A real example of Perl on the Web.
Interfacing the Web to an SQL database.
|System Dependencies (module P214) The philosophy.
How is it so portable?.
Finding out what system your script is running on.
System database enquiries.
How Perl helps on crossplatform requirements.
Text files - end-of-line characters.
Handling Microsoft Word and Excel files in Perl.
|More than Simple Lists and Hashes! (module P217) Multidimensional arrays.
Mixing the dimensions.
Something more complex.
Setting up the structure.
Referencing the structure.
Grouping in Perl.
Interpreting a complex reference to a variable.
|Handling Dates and Time (module P216) So far.
File status operators.
stat on a file.
Via system commands.
How Perl handles dates and times.
Other date information available.
Convert from epoch seconds into "human readable" form:.
Convert from human readable form to epoch seconds.
Elapsed time sleep.
|Practical Example - Perl in use (module P772) The requirement.
Input and output.
Plain Old Documentation (POD).
On data validation.
On data input and output.
On extending the application.
On the optimizing algorithm.
|Libraries and Resources (module P219) Standard Perl modules.
Installing from CPAN - an individual module.
Installing from the CPAN - using the CPAN module.
Installing modules via the Perl Package Manager.
What’s on the CPAN?.
Perl information in newsgroups.
A note of caution.
Meeting users, getting local support and training.
Well House Consultants.
|Perl 6 Look Ahead (module P256) Objects.
Conditionals and loops.
for and loop.
Rules and grammar.
Elements with a rule.
Concluding rules and grammar.
Under the bonnet.
|A Quick Look Ahead (module P770) Fundamental and advanced topics.
How do these further facilities talk to Perl?.
Other facilities in the Perl language.
File handling and system administration functions.
Writing distributable modules.
More complex data structures.
Writing network clients and servers.
Binary Termio, and low-level file controls.
Other facilities in Perl - further modules.
Interfacing to databases.
XML and XSLT.
Graphics and Perl.
Writing Web clients.
Talking to Microsoft applications.
Perl in other guises.
Interfacing to the Web via cgi.
Interfacing to the Web via mod-perl.
Other Web interfaces.
Perl embedded within third-party applications.
TUTOR and COURSE AUTHOR
Graham Ellis - email@example.com
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($2256.00 inc VAT) or
(£1392.00 inc VAT)
($1860.00 inc VAT) or
(£1140.00 inc VAT)
| With hotel rooms
($4452.00 inc VAT) or
(£2724.00 inc VAT)
($3660.00 inc VAT) or
(£2220.00 inc VAT)
| With hotel rooms
($6648.00 inc VAT) or
(£4056.00 inc VAT)
($5460.00 inc VAT) or
(£3300.00 inc VAT)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
Further Perl training is available on our Using Perl on the Web
and Perl for Larger Projects
you're going to be using Perl to front a MySQL database but aren't familiar
with SQL, have a look at our MySQL
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.