This article provides a brief introduction to object-oriented programming (OOP) in Perl. It explains the concepts of objects, classes, and methods. It demonstrates how to create a class, define methods, create objects, and use accessor methods. It also discusses inheritance and polymorphism in Perl's OOP. Finally, it provides a small program as an example to test the implemented classes.
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Khürt Williams is an independent information systems security consultant working for private industry and government in the Princeton area. He holds CISSP, CCSP and ITIL certifications.