| |||||||||||
| |||||||||||
|
Class design in Perl
![]()
Perl has excellent OO capabilities - even if in the current release (release 5) some elements are a little
difficult to learn at first. It supports full multiple inheritance, polymorphism, encapsulation, static and
dynamic methods and everything else you would expect - and many facilities you might not expect such as
variable export and virtual methods (via AUTOLOAD). Not every Perl user wants to use objects, so we cover
the subject on our "Perl for Larger Projects" course - and on that course we cover not only the mechanisms
of Object Orinetation in Perl, but also how they relate to Object Orientation in general ... the principles
of which we also cover. This diagram shows how a "package" is a "class", how a "sub" is a "method", and
other relationships between standard OO nomenclature and the Perl language.
Show a large image More about Object Orinetation in Perl Associated topic - Object Orientation and General technical topics - Object Orientation: Design Techniques |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||