Exercises, examples and other material relating to training module P669. This topic is presented on public course
Perl for Larger Projects
Perl for Larger Projects - Objects, huge data, SQL databases, XML, efficiency and other topics.
This advanced course takes the Perl programmer through
... http://www.wellho.net/course/plfull.html [course] |
When you match to a regular expression in a perl program, the program has to compile the regular expression (i.e. work out what it does) before actually ... http://www.wellho.net/mouth/597_Stor ... iable.html [short article] |
In Perl, you can process whole lists (arrays) in single operations - and that's very efficient at run time as it avoids the needs for loops, and the needed ... http://www.wellho.net/mouth/1316_Fil ... d-map.html [short article] |
div class= introsubheads PROCESSING LARGE QUANTITIES OF DATA BR /div
Data Monging is a term that has come to be used for processing quantities of ... http://www.wellho.net/solutions/perl-data-monging.html [longer article] |
Here's a graphic illustration of the use of the "e" for "execute" modifier used on the end of substitute operation in Perl.
The "s" for substitute allows ... http://www.wellho.net/mouth/1947_Per ... ifier.html [short article] |
Here's a very common application ...
You file a file of data records, and you want to parse the file handing the data record by record. Each record ... http://www.wellho.net/mouth/1509_Ext ... cords.html [short article] |
OK - I admit it. It might be slightly out of fashion but I still love Perl for that quick hack script which is a one-off data manipulation need.
I have ... http://www.wellho.net/mouth/2129_Not ... ickly.html [short article] |
Perl is a superb language for data manipulation. This module covers some of the more advanced features of the language which help give it this capability.
This topic is presented on public course
Perl for Larger Projects
Examples from our training material
| anagram | Perl program to look for anagrams |
| filedata | List manipulation - sorting files by size and reporting largest 10 |
| filedata2 | Sorting files by size - shortened example, harder to follow? |
| memsave | Compressing data to save memory |
| new1 | List iteration |
| new2 | Alternative list iteration |
| oldfash | Handling an "arraY" - really a list - the oldfashioned way |
| pc1 | (Somewhat) conventional programming methods to parse data |
| pc2 | Using the power of lists to save code and time |
| pc3 | Handling a file as a single string of text |
Pictures
Examining the output of a Perl program
Background information
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
Iterating over data in Perl.
Processing data through regular expressions.
Compressing data.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses 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.