Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

New telephone system - working a day early.
01225 708225 (phone) and 01225 899360 (fax) again ;-)
Upcoming U.K. Perl courses ...
Perl Programming
Perl for larger projects
using Perl on the Web

Tips and short articles on this subject
Further more advanced Perl examples
Just pass a pointer - do not duplicate the data
Perl references - $$var and \$var notations
Autovivification - the magic appearance of variables in Perl
Course follow-ups
Hash of lists in Perl
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business 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
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P217
More than Simple Lists and Hashes!
Exercises, examples and other material relating to training module P217. This topic is presented on public courses Perl Programming, Perl for Larger Projects, Perl bootcamp

Learning to program in Perl / Perl Programming - Programming Perl - for newcomers to the language This course introduces you to the Perl programming language. ...
http://www.wellho.net/course/ppfull.html  [course]
Learning to Program in Perl / Perl Programming - Learning Perl - whether you're new to programming or 'converting'. This course covers programming in the ...
http://www.wellho.net/course/lpfull.html  [course]
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]
Custom course - Custom course Custom course This is a custom course that will be tailored to your trainee's needs and based on their current knowledge ...
http://www.wellho.net/course/ccfull.html  [course]
Perl Bootcamp - The fundamentals of the language. This course covers the fundamentals of the Perl programming for computer professionals who are new to ...
http://www.wellho.net/course/bpfull.html  [course]
Here's a short program that reads data into a hash of lists, sorts the keys and displays output data - a simple Perl program showing powerful capabilities ...
http://www.wellho.net/mouth/43_Hash- ... -Perl.html  [short article]
@breakfast = ("Cheese","bread","Tuna"); @lunch = ("chicken","rice"); @tea = ("steak","water","fish"); @today = (\@breakfast,\@lunch,\@tea); push @lunch,"soup"; ...
http://www.wellho.net/resources/ex.php4?item=p217/lili  [code sample]

As well as lists and hashes, Perl has the capability of handling collections of data in more complex structures; you're limited only by your ingenuity! A study of these more complex structures is vital if you're to understand how Object Orientation works in Perl, and the subject is equally essential if you're going to be doing serious data munging without using objects.

This topic is presented on public courses Perl Programming, Perl for Larger Projects, Perl bootcamp

Examples from our training material
2ds   Setting up a list of lists (like a 2D array)
2tiny   A list of lists - autovivification
ar2   Combining lists - list of lists v one long list
ar3   Rekeying data
ar3.cgi   Rekeying data / presenting it on a web page
ar4   Reading a data file into a structure
deal   A list of lists - dealing a pack of cards
deal2   List of lists - flexible example
hali   Example of a hash of lists
lili   lists of lists - like a multidimensional array
lili2   List of lists
multikey   A Hash of lists - a more complex example
revise   Revision of reference notations in Perl
rn2   Pushing a list v pushing a reference to a list
rq2d   Setting up a hash of lists
rrr   Setting up a list of lists (like a 2D array) from a file
Pictures
Two students on a public Perl course in Melksham
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
Multidimensional arrays.
Something more complex.
Design matters.
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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 01225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho