Object Oriented Perl

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Welcome to Perl Training Australia’s Object Oriented Perl training course. This is a two-day module 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.

Author(s): Paul Fenwick; Jacinta Richardson
Publisher: Perl Training Australia
Year: 2007

Language: English
Pages: 122