Perl - Object Oriented Programming Concepts

This is a very introductory overview of object-oriented programming (OOP) in Perl. Perl did not have object-oriented support up to Perl 4. Perl 5 introduced the concepts of objects, packages, modules, classes, methods to Perl and provided language constructs to support them. Scripts written in Perl 4 work with Perl 5. So for all practical purposes you can consider object-oriented features as extensions of Perl 4, which we have been learning in prior lessons.


Namespace, Package and Module

Classes, objects and methods

You will not need to use OOP Perl concepts to write most of your scripts, but you will need to understand its terminology, invocation and notation, so that you can use Perl object-oriented modules.


This page is maintained by Al Bento who can be reached at abento@ubmail.ubalt.edu. This page was last updated on October 7, 2002. Although we will attempt to keep this information accurate, we can not guarantee the accuracy of the information provided.