دانلود کتاب Object Oriented Perl
by Paul Fenwick, Jacinta Richardson
|
عنوان فارسی: شی گرا پرل |
دانلود کتاب
جزییات کتاب
in which we will cover object oriented programming concepts in Perl.
Course outline
• Object oriented refresher
• What are packaged and modules
• How to write packages and modules
• A first Perl object
• Using this knowledge
• Passing arguments by name
• Class methods and variables
• Destructors
• Inheritance
• Redispatching method calls
• Abstract classes
• Polymorphism
• Using this knowledge
• Operator overloading
Assumed knowledge
This training module assumes the following prior knowledge and skills:
• Thorough understanding of operators and functions, conditional constructs, subroutines and basic
regular expressions in Perl.
• Thorough understanding of arrays, scalars and hashes in Perl.
• Thorough understanding of references and complex data structures in Perl.
Module objectives
• Understand basic concepts of object oriented programming in Perl.
• Understand how to write and use modules and packages.
• Be able to write basic classes and class methods.
• Understand how and when to write destructor functions.
• Understand inheritance and multiple inheritance and how to handle the issues these create.
• Be able to use the NEXT pseudo-class to assist in cases of multiple inheritance.
• Understand polymorphism.
• Understand and be able to overload operators in useful manners.