Perl Training Australia -
Advanced Object Oriented Perl
Trainer: |
Damian Conway |
Length: | 2 days |
Target Audience: |
Experienced Perl programmers who have a solid understanding of hash-based OO
Perl.
|
This course will show you how to build on the object-oriented Perl techniques
you already know and unlock more of the power of Perl's OO capabilities.
You will learn:
-
how (and when) to bless arrays and scalars;
-
three different ways to implement
data hiding for Perl objects
(including the Tie::SecureHash
module);
-
how Perl implements inheritance and
polymorphism (and how you can change
the rules of either);
-
advanced polymorphic programming techniques
(including virtual constructors);
-
advanced method redispatch techniques
(especially under multiple inheritance)
-
how to simulate scalars, arrays,
hashes, and typeglobs using ties;
-
the use of tie-based proxies in OO Perl
-
the features (and traps) of operator
overloading in Perl;
-
easy ways to build complete classes
(semi-)automatically;
-
how to do design-by-contract
programming in OO Perl (using the
Class::Contract module);
-
how to use multiple dispatch (an
advanced form of polymorphism )
Copyright Perl Training Australia. Contact us at contact@perltraining.com.au