Click here to Skip to main content
15,885,686 members
Articles / Programming Languages / Perl

Perl Object Oriented Programming

Rate me:
Please Sign up or sign in to vote.
4.49/5 (37 votes)
12 Nov 2002CPOL5 min read 515.7K   1.8K   38  
The basics of Object Oriented Programming in Perl
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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
United States United States
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.

Comments and Discussions