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

Tips and short articles on this subject
What is an lvalue? (Perl, C)
Answering ALL the delegate's Perl questions
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
Variables in Perl - module P301
Perl variables come in seven types. You should be familiar with scalars, lists and hashes before you start this module, but you've probably still got more to learn. And how about code variables, file handles and typeglobs?

This topic is presented on public course Perl for Larger Projects

Examples from our training material
danger   What variables have I used?
dele   delete, undef, defined and exists
fact   recursion in Perl
mkd2   Anonymous lists using [ and ]
mkpascal   Pascal's triangle; clever use of formatting
my2   scoping with "my"
pers   persistent my variable
phash   data munging - unpack, splice, regular expressions etc
ref1   References
ref2   Modifying values passed in to a subroutine
ref3   handling a list of lists element by element, by row, and as a whole
scal_type   ref function - what is in a scalar
scope   variable scope illustration
sfact   Beware of variable scope in recursive code
sfact1   Use of strict to flag scoping dangers
sfact3   Using package names to supress strict warnings
splitter   select and typeglobs for file handles - alternative to array of file handles
st   Accessing Perl's symbol tables
st2   Dumping out all variables defined
tgd   typeglobs - a package deal (one of everything!)
vbn   Soft References
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
Scalars, lists, hashes, code, file handles and typeglobs.
Symbol tables and accessing them.
Soft and hard references.
Undef and delete.
My and local scoping.
Strict.
References.
Multidimensional lists.
Dynamic creation of structures.
Anonymous 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 600 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.


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