Well House Consultants
You are on the site of
Well House Consultants
Open Source Training Courses
hotel accommodation. You are welcome to browse and use
our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Well House Manor Resources
Object Orientation and General topics
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
C and C++ Resources
Web and Intranet Resources
Perl module P201
Exercises, examples and other material relating to training module P201. This topic is presented on public courses Deploying LAMP - Linux, Apache, MySQL, Perl/PHP
, Linux Web Server
, Perl Programming
, Perl bootcamp
, Learning to program in Perl
, Perl Programming
Perl is a programming language that can be used in a wide range of applications from system management through to web applications, and from simple data filtering through to heavy data analysis. This module introduces you to the world of Perl and helps you define where you can and where you should be using it.
Related technical and longer articlesNew to programming. Portable code. Perl or Java?
|Articles and tips on this subject||updated|
I've just put a piece of demo software up online for a contract customer, and called it "version 0.9" - only partial functionality, but one of those projects which has really exciting potential and there's a need to get some form of feedback. Thank goodness for a customer who understands that a completed ...
|2832||Are you learning Perl? Some more examples for you!|
One of the things that you'll get on a Well House Consultants course is new code written by the tutor in front of your very eyes. We do that because:
• you need to learn not only how code works, but also the though code process behind the code - not only how it is written in a ceratyin way but ...
|2812||What is Perl?|
An Experiment ....
Perl is a computer language.
You write a series of instructions and the computer then performs them. Unless you state otherwise, statements are performed in order. You can, though, have conditional code, loops and calls to blocks of code elsewhere just as in other languages.
|317||Programming languages - a comparison|
"It would take me a week to develop application XXX in C, 2 or 3 days in Java, and a day in Perl, PHP, or Python."
So I say when I'm teaching Perl, PHP or Python.
What do I say when I'm teaching C, C++ or Java? The same thing! But there are qualifications / differences / reasons and just because it ...
|2070||Converting to Perl - the sort of programs you will write|
I've put many of the examples that I wrote during last week's Perl Course into our converting to Perl resource, and they've available for use and download from there, subject to the usual "use at your own risk" exclusion!
Where delegates are used to prescriptive, declared languages such as Cobol (or ...
|924||The LAMP Cookbook - Linux, Apache, MySQL, PHP / Perl|
It all started on Friday as we came back from the pub. I was describing how we've been, twice, on Neil Bauman's Geek Cruises but never been asked to talk or lecture, even in a "lightning session" on them. A little wistfully, maybe, as I'm a "wannabe" - I would love to get up and deliver a talk just ...
|1852||Perl and Blackberries|
"Of course people will use Perl - it's free". No - whilst Perl is freely distributed [under license], that's not the sole reason that people use it. Blackberries, growing in profusion on the roadside at this time of year are free, but that doesn't mean that every motorist going past is going to stop ...
|1753||Perl v PHP, choosing the right language|
"Should I use Perl or PHP?" - a question asked today about a heavy data processing application, but by a delegate who's main work is web site stuff and who is here on a PHP course ... with some prior Perl experience.
Not an easy question to answer; if the guy was only doing the data processing work ...
|1717||Q - Should I use Perl or Python?|
An interesting question posed to me today - and not for the first time. And not for the first time, my answer had to be "tell me more about your application, and about the people who will be writing and maintaining it".
A comparative diagram on the board provides some help - but of course what's important ...
|577||Learning to program in Perl or PHP|
* Course - Perl for Beginners.
* Tutor lead lessons - Learning to Program in PHP.
* Classes in MySQL from the ground up.
Our IT industry can be so inward-looking at times! Many training courses are really conversion courses where a programmer skilled in language P learns language Q. Such courses ...
|846||Is Perl being replaced by PHP and Python?|
I was transferring some Perl code into PHP this morning, and thinking back to comments made to me that Perl seems to be fading away, whereas PHP and Python are growing. Has Larry Wall and the Perl team lost its way, then?
Part of the lesson is in my comment that Perl SEEMS to be fading. In my particular ...
|594||Twice is a co-incidence and three times is a pattern|
Open Source training from Well House Consultants started from just three customer requests for a Perl course.
I was using Perl for various web site and internal works, and training under contract - so I suppose I was a natural one to ask. By I hadn't given a clue to people that I could / would write ...
|629||Choosing the right language|
Why are there so many different computer languages? It's partly because there are many different types of things that need to be done in a programming environment and they require different mixes of facilities. And the addition of facility "x" which is really important for application "y" makes the ...
|691||Testing you Perl / PHP / MySQL / Tcl knowledge|
There are some aspects of our work - such as training and helping people specify and plan their systems - that have a positive aura about them and are naturally forward looking. Yes, we celebrate those jobs.
Other aspects, such as support and repair work, start off with a natural "down" - we're called ...
|743||How to debug a Perl program|
Have you every written a Perl program that doesn't perform as you would wish? Yes, everyone who's written a Perl program has done that. Once any syntax errors have been corrected, you run your program for the first time and you check - VERY carefully - the results. Any errors, and the patterns of errors, ...
Examples from our training material
|calc|| Command line / STDIN Perl calculator|
|pear_ex|| A short program to handle substantial data|
|pex2|| Extended end of day one demonstration|
|pex3|| Same thing - sorted!|
|pex4|| Short Perl program ... XML output|
|s_c3|| Screen Counter demo - look for RasterFlex boards|
|talker|| Simple talker written in Perl|
|urler|| Splitting out a URL|
|whc.pm|| Sample standard set of subroutines to share between applications|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
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.
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.