Book

Object Oriented Perl

by Damian Conway

📖 Overview

Object Oriented Perl is a technical programming book that teaches object-oriented programming concepts using the Perl programming language. The book covers both basic and advanced OOP techniques while maintaining accessibility for readers with varying levels of Perl experience. The text progresses from fundamental object-oriented concepts through intermediate topics like inheritance and polymorphism, culminating in advanced subjects including multiple dispatch and persistence. Each chapter includes practical code examples and exercises that reinforce the concepts presented. Conway presents the material through a structured approach that builds on previous chapters while drawing parallels between Perl's implementation of OOP and other programming languages. The book serves as both a learning resource and a reference guide for implementing object-oriented designs in Perl. The author's focus on practical applications and real-world scenarios makes this book relevant for developers who need to maintain or modernize legacy Perl codebases while adopting modern programming paradigms.

👀 Reviews

Readers consistently note this book helps bridge procedural and object-oriented Perl programming. Many cite Chapter 3's coverage of references and nested data structures as particularly useful. Liked: - Clear explanations of OOP concepts with Perl-specific examples - Strong coverage of multiple inheritance and polymorphism - Practical design patterns that work well in Perl - Detailed code examples demonstrating each concept Disliked: - Advanced material may overwhelm Perl beginners - Some examples feel dated by modern standards - Limited coverage of newer Perl OO frameworks - Dense academic tone in theoretical sections Ratings: Goodreads: 4.12/5 (49 ratings) Amazon: 4.3/5 (32 reviews) Sample review: "Finally understood blessed references after reading Chapter 2. The author explains complex topics without handwaving." - Amazon reviewer "Good technical depth but requires solid Perl knowledge going in. Not for OOP novices." - Goodreads reviewer

📚 Similar books

Modern Perl by brian d foy An examination of Perl programming that bridges procedural and object-oriented concepts with current best practices.

Programming Perl by Larry Wall, Randal L. Schwartz This comprehensive reference covers Perl's object system along with core language features and practical applications.

Intermediate Perl by Randal L. Schwartz The text builds on basic Perl knowledge to teach object orientation, references, and modular development techniques.

Higher-Order Perl by Mark Jason Dominus This work explores functional programming concepts in Perl, including object interfaces and design patterns.

Perl Design Patterns by Stephen B. Jenkins The book presents object-oriented design patterns implemented in Perl with practical examples and use cases.

🤔 Interesting facts

🔹 Damian Conway wrote Object Oriented Perl in 2000 while serving as a Senior Lecturer in Computer Science at Monash University, Australia. 🔹 The book introduced many Perl programmers to advanced OOP concepts like multiple inheritance, polymorphism, and encapsulation at a time when Perl was primarily known as a scripting language. 🔹 Despite being over 20 years old, the book remains one of the most comprehensive resources for understanding Perl's object system, which hasn't fundamentally changed since Perl 5's release. 🔹 Conway created several popular CPAN modules mentioned in the book, including Parse::RecDescent and Lingua::EN::Inflect, which are still widely used today. 🔹 The techniques described in the book influenced the development of Moose, a modern object system for Perl that addresses many of the limitations Conway identified in Perl's native OO implementation.