Learning Perl - whether you're new to programming or 'converting'.
Duration: 5 days
• Price: £1900.00 +VAT
(with hotel room), or
(without room), •
Venue: Melksham, Wiltshire
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?
What computers does Perl run on?
Is Perl loaded on my computer (and if not, where do I get it?)
Versions of Perl.
Examples of Perl in use.
|Perl Fundamentals (module P202) First practical Perl program.
Executable statements, comments and POD documentation.
Variables and assignments.
Strings v numbers.
|Conditionals and Loops (module P204) The if statement.
Conditions and blocks.
The while statement.
Shorthand operators (add and assign, ++, etc.)
Ways of writing numbers.
|Initial String Handling (module P205) String handling functions.
String handling operators.
Single- and double-quoted strings.
Here documents, qq, etc.
Exact string comparisons.
Regular expression matching.
Regular expression components.
|More Loops and Conditionals (module P206) The variety of Perl.
Single statement conditionals.
The until loop.
The for loop.
Single statement loops.
Breaking a loop.
|File Handling (module P207) File handles.
The open and close functions.
Reading and writing files.
Other things you can do with the file interface.
Formatting variables and expressions.
The Power of Perl
|Lists (module P208) What is a list?
Creating a list.
Referencing elements in a list.
Changing a list.
The length of a list.
List and scalar context.
Functions that operate on lists.
|Subroutines in Perl (module P209) The what and why of subroutines.
Structured and object oriented programming.
Calling a subroutine.
Loading a subroutine from another file.
Local, my and package variables.
Loading a class and using objects.
|Topicalization and Special Variables (module P210) Command-line parameters and the name of your program.
$_ - the default input and pattern matching variable.
More command-line options.
|Hashes (module P211) What is a hash?
Setting up a hash.
Keys and values.
Accessing a hash.
Processing every element.
cmp and operators.
Programming techniques for hashes.
Deleting hash elements.
|More on Character Strings (module P212) Summary to date.
Extracting information from a match.
Assigning to a list.
Greedy and non-greedy matching.
Pre- and post-match strings.
Comments within a regular expression.
Substitute and execute.
Regular expression efficiency.
The tr function.
Handling binary data - read, unpack etc.
|More than Simple Lists and Hashes! (module P217) Multidimensional arrays.
Something more complex.
|Creating your own Classes (module P213) Resume - using a class.
Background to instance variables - pointers and references.
new - the constructor.
Other methods in a class.
Using more complex structures to store data in a class.
Extended capabilities by using hashes.
|More Objects (module P218) Where to look for modules.
Inheritance and hierarchy; base and derived classes.
Special methods BEGIN, END, DESTROY and import.
Export and Exporters.
Application of Perl
|Libraries and Resources (module P219) Standard Perl modules.
Pragmata - strict, integer, constants, overload and others.
Modules distributed with Perl - Benchmark, Carp, English, Data::Dumper and others.
The CPAN - sourcing, downloading and installing modules.
Useful major modules such as Tk, CGI, DBI and DBD.
XML, LWP, Win32 and other modules.
Utilities supplied with Perl - a2p s2p pod2html perldoc, etc.
Documentation - Perl manual, FAQ, etc; sources online and offline.
Websites, newsgroups, IRC and books.
Local user groups, Perl Mongers.
Getting training and support.
|Perl 6 Look Ahead (module P256) What's new in Perl 6?
Objects with properties; memorise, constant, is and but.
Class keyword, new bless, and the . operator.
Interprollation of $(...) and @(...), and the _ operator.
Multiple comparisions and the smart comparison operator.
Golden nuggets - err, open, time, here docs etc.
Parameter lists, parameter naming and parameter autonaming.
The := binding, refs and types. Asuume bindings.
Topicalisation. Subroutine, conditional and loop changes.
try and CATCH. LAST, FIRST, PRE, POST, KEEP and UNDO.
grammars and rules.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
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
(£2280.00 inc VAT)
(£1860.00 inc VAT)
| With hotel rooms
(£4500.00 inc VAT)
(£3660.00 inc VAT)
| With hotel rooms
(£6720.00 inc VAT)
(£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.