Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
A Perl programming practical

A Perl programming practical

Perl's hashes (formerly known as associative arrays) can be compared to database tables, where the key of each hash member equates to the primary key of each row of the table, and the value in the has equates to the other field(s) in the record. For Perl trainees with a background in programming in some of the more mature programming languages such as C and Fortran, this comparison isn't effective, so on our courses we start by saying "wouldn't it be nice if you could have and array [list] where you didn't have to number the elements, but could name them?". For such trainees, the practical at the end of the module requires a great deal of concentration, but almost inevitably it end up with the trainee understanding not only the mechanism of hashes, but also some techniques for making best use of them.

More about hashes

Next ... random image ... a slide show ... image from list below


© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho