Learning Perl - whether you're new to programming or 'converting'.
Duration: 5 days
• Price: $3100.00 or £1900.00 +VAT
(with hotel room), or
$2550.00 or £1550.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
Usually scheduled to meet customer needs or run as a private course. Please email for details
This course covers programming in the Perl language.
Whether you'll be using Perl for data manipulation tasks, administration
scripts, or web interaction, you should start here.
The first sections of this course introduce you gently to computer
programming, using practical examples in the Perl language and
leads on to writing some simple application programs so that you
can see how the elements all slot together.
The core of the course introduces further fundamental parts of Perl.
You'll learn about topics such as: regular expressions, lists,
subroutines and hashes, and you'll be taught how to use them
together in both traditional (keyboard and screen) and Web server-based work.
The course concludes with sections on resources that are available,
and a forward-looking lecture that overviews many more of the
facilities available in Perl, and what they can do for you.
This course is for delegates with little or no prior programming experience
Getting the most from your Well House Consultants course
Perl is a widely used programming language, with a large base of existing programs
installed on many sites. 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. Although many new applications are written in PHP, Python or Ruby
where Perl would have been used in the past, Perl is still an excellent langauge, and still a good choice for many
|Learning to Progam (module Q100) What is programing?
Why are there so many langauges?
Which language for what purpose?
How to plan your progamming project.
Making best use of existing resources.
|Programming Principles (module Q101) Stored programs - running from file.
Very fast, but an IQ of zero.
Variable and variable types.
Conditions and conditional code.
Loops and named blocks of code.
Pointers and references.
Compilers and Interpretters.
Program and system design.
|Analysing a Programming Task (module Q904) A small job.
Learning about the job.
Working it out.
As a job gets larger.
|Programming Algorithms (module Q110) Sorting.
Mean time between failure.
|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.
The Power of Perl
|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.
|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.
|Creating your own Classes (module P213) Resume -- using a class.
Background to instance variables.
Variables, addresses of variables, contents of variables.
A first class.
Structure of the class file.
The new method.
Other methods in the class.
Storing information using complex structures.
Writing applications that are independent of the class internals.
Using a scalar to store information within a class.
Using a list to store information within a class.
Using a hash to store information within a class.
Further capabilities of a hash.
The ability to provide generic set and get methods.
|More Objects (module P218) A Generic Class.
Where to look for modules.
Inheritance and hierarchy.
The Base class.
The derived class.
Imports and exports.
Further notes on object orientation.
Extending our earlier generic example.
Application of Perl
|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.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [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
($3720.00 inc VAT) or
(£2280.00 inc VAT)
($3060.00 inc VAT) or
(£1860.00 inc VAT)
| With hotel rooms
($7380.00 inc VAT) or
(£4500.00 inc VAT)
($6060.00 inc VAT) or
(£3660.00 inc VAT)
| With hotel rooms
($11040.00 inc VAT) or
(£6720.00 inc VAT)
($9060.00 inc VAT) or
(£5460.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.
For some applications, you'll learn all the Perl you need
on this course. We can also offer advanced Perl training tailored to your needs.
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.