REVIEW - Object Oriented Perl


Object Oriented Perl


Damian Conway



Manning Publications (2000)




Jon Wilks


April 2000



From the release of version 5 onwards, it has been possible to write Perl code in an Object Oriented idiom. Sadly, the way to do this in Perl has not been well explained until now, especially if object oriented programming is new to you. Damian Conway's book does an excellent job in pointing the way. Concepts such as inheritance and polymorphismare dealt with in an easily digestible way, often with a touch of humour.

The opening chapters take you through a short guide to Object Orientation and Perl before launching you into class creation. Subsequent chapters cover inheritance, polymorphism, overloading, encapsulation, genericity, multiple dispatch and persistence. All these chapters describe clearly how these concepts are undertaken using the Perl language. For those already comfortable with OO concepts, appendix B compares OO Perl with Smalltalk, C++, Eiffel and Java. Where relevant, references are made to the Comprehensive Perl Archive Network (or CPAN).

Details are given in the book on how to access the Manning web site. From there you can get all the sources to the examples and access a forum where you can place questions to the author.

Sadly, the book is badly spoiled by a number of typographical errors. I am saddened that such a good book is so badly littered with them that I did at one point question the terminology I was being told. Although these are listed on the Manning web site (15 pages so far when printed), I believe this blights what is otherwise an excellent book.

Book cover image courtesy of Open Library.

Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED

By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED

Settings can be changed at any time from the Cookie Policy page.