Object-Oriented Programming

One of the major topics I didn't cover in this book is the use of Perl for object-oriented programming, or OOP (if this was Sams Teach Yourself Perl in 25 and a Half Days, we might have been able to cover it). Fortunately, Perl makes object-orientation easy by using familiar Perl features such as packages, subroutines, and references to implement an object-oriented programming environment. This way, if you know something about OOP, you can start programming right away by following only a few rules. If you don't know object-oriented programming, you have some basic background to catch up on, but then you won't have any other major new language features of Perl to learn to be able to use OOP skills right away.

Getting ...

Get Sams Teach Yourself Perl in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.