OBJECT-ORIENTED PERL– GTPL4
This three-day course addresses the Object-Oriented features of Perl and provides students with the knowledge to create Object-Oriented Perl scripts.
This course is suitable for perl programmers or developers wanting to fully understand Perl’s OO aspects, also programmers and system administrators.
Programming experience in a structured language, such as C, C++, Java, or COBOL, is required to attend this course as well as an in-depth knowledge of the Perl language.
The skills are taught in the following courses:
- GTPL1 – Perl Programming 5-day Course
- GTPL9 – C Programming 5-day Course
- GTPL11 – C++ Programming 5-day Course
- GTIT1 – Java Programming 5-day Course
If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please consult with us to discuss your suitability for course attendance.
There are a number of options of suitable follow-on courses, depending on your business needs. Please contact us for further details.
1. Perl Essentials Review
Topics Not Reviewed (But Essential to Understand OOP in Perl)
Advanced Data Types
2. OO Primer
Introduction to OOP in Perl
Additional OO Terminology
3. OO In Perl Essentials
The Basis of OOP in Perl
4. Using Bless on Arrays and Scalars
Why Use Other Data Types?
5. Using Bless on REs, Subroutines and
Blessing Things Other Than Variables
Blessing Regular Expressions
Overview of Inheritance in Perl
Determining a Method’s Location
The @ISA Array Works
Inheritance in Other Languages
Perl “Built-In” Methods
Handling DESTROY Methods with
The SUPER Class
7. Automating Class Creation
Automating Class Creation Essentials
Using Class::Struct to Crate Classes
Using Arrays Instead of Hashes
Other Tools to Create Classes
What are Ties?
Making a Tied Scalar
Making a Tied Array
Making a Tied Hash
Making a Tied Filehandle
Ties and Inheritance
9. Installing CPAN Modules
Introduction to the Concept of
How Your Overload Subroutines Will
Overview of Encapsulation
Using Closures to Enforce Encapsulation
Other Methods of Encapsulation