Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Object Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques Paperback – January 1, 2000
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently Bought Together
Customers Who Bought This Item Also Bought
The most notable thing about Object Oriented Perl is Conway's excellent perspective on object-oriented concepts and how they are implemented in Perl. This book does a remarkable job of cutting through traditional jargon and illustrating how basic object-oriented design techniques are handled in Perl. (A useful appendix attests to the author's wide-ranging knowledge, with a comparison of Smalltalk, Eiffel, C++, and Java with Perl, including a summary of object-oriented syntax for each.) This book also features a truly excellent review of basic Perl syntax.
Throughout this text, the author shows you the basics of solid object design (illustrated using classes that model music CDs). Basic concepts like inheritance and polymorphism get thorough and clear coverage. The book also points out common mistakes and provides many tips for navigating the powerful and flexible (yet sometimes tricky) nuances of using Perl objects. For instance, Conway shows how to achieve true data encapsulation in Perl (which generally allows calls across modules) as well as its natural support for generic programming techniques.
He also pays special attention to popular object modules available from CPAN (like Class::MethodmakerK, which simplifies declaring classes) and discusses performance issues and the tradeoff between programming convenience and speed often faced by today's Perl developer. Advanced chapters cover a number of techniques for adding persistence and invoking methods using multiple dispatching.
Filled with syntactic tips and tricks, Object Oriented Perl is a sure bet for any programmer who wants to learn how to use Perl objects effectively. --Richard Dragan
Topics covered: Perl language review, CPAN, Perl objects, 'blessing' and inheritance, polymorphism, Class::Struct and Class::Methodmaker modules, Perl ties and closures, operator overloading, encapsulation, multiple dispatch, Class::Multimethods, coarse-grained and fine-grained object persistence techniques, performance issues.
From Library Journal
Copyright 2000 Reed Business Information, Inc.
More About the Author
Top Customer Reviews
Conway also gives a very thorough coverage of implementating true data encapsulation in Perl and presents several methods for doing so.
Another thing that struck me about this book is Conway's attention to detail. In his code samples, he carefully explains why each line was written a certain way. He even notes which version of Perl a certain feature or module first appeared in.
All in all, a wonderful book. Even if you have been developing in Perl for a while this book has something to offer.
And the best thing about this book is that, on the way to explaining various OOP concepts, it manages to elucidate all sorts of non-OOP advanced programming techniques in Perl. So I recommend this book to anyone who's finished /Learning Perl/ and is looking for what to learn next.
It's a surprising achievement, and one that makes this book very worthwhile reading for people who don't even particularly care about OOP!
And, conversely, because /Object-Oriented Perl/ touches on so many of the possible approaches to OOP, I think that this book would be interesting to people who are interested in OOP, but not terribly interested in Perl per se.
It is, in short, a book of immediate as well as lasting value.
My only complaint about this work, which is more of an opinion that isn't relative to its rating, is that I think Perl programs are more beautiful and elegant when they don't embody complex scaffolding of the type that this book so ably describes. I see this book as a Perl counterpart to Coplien's Advanced C++, but in the case of C++, it's possible to bury scaffolding in a library out of sight in a way that isn't quite possible in Perl. I'm not sure how many Perl programmers actually know C++ (my experience is that it's a surprisingly small number) but I think that C++ is a language that tolerates and even demands such complexity in a way that Perl doesn't.
One thing for sure--the coverage of objects here is vastly superior to that in the turquoise Camel book (Programming Perl). I'm sorry, but I think the topic deserves more descriptive terminology than "thingy." Conway knows his concepts, knows how to execute them in Perl, and sets them down lucidly and, yes, exhaustively.
I'm not sure it's worth it in the long run, but that's just me, and obviously others see architectural tradeoffs differently. Meanwhile, this is an excellent, literate work that enhances both the capabilities of programmers and the stature of Perl. If nothing else, studying it will definitely improve your understanding of the language and idioms of Perl. But I would expect it to be more rewarding than that.
To my ever-growing stack of O'Reilly Perl books, I've just added this gem, which fits nicely alongside Effective Perl Programming (ISBN 0201419750 for the uninformed) as a non-O'Reilly Perl book that every Perl programmer should have at their disposal.
Not content with writing just a Perl book, Damian Conway spends the first chapter explaining normally confusing object-orientation concepts in a very clear manner. This tutorial alone is worth a good chunk of the purchase price, especially if you tend to find typical articles on object-oriented programming overwhelming. To fill the rest of your order, the next 400+ pages are pure Perl, as Conway takes every concept introduced in the first chapter and spends a chapter on each one, showing you how Perl accomplishes them. The examples and code samples are very clear, very real-world, and (thusly) very easy to understand. A good deal of time is also spent on tricks and optimizations to help reduce the much-touted performance hit from OO Perl. The later chapters dive into more advanced topics and start combining all the core concepts together.
Besides teaching all the ins and outs of OOP, a good number of paragraphs are also devoted to non-OOP advanced Perl techniques. This book transcends its title; it's a book for anyone looking to move into the advanced Perl realm, OOP or not.
This book has definitely helped me increase my level of Perl competence and the knowledge gained is presently working to streamline a number of projects I'm on. I'm elated. I think I'll play my air guitar in celebration.
Most Recent Customer Reviews
ANYTHING by Dr. Damian Conway, by default, gets five stars. He's probably the most brilliant person I've ever met (at OSCON). Read morePublished 7 months ago by Amazon Customer
I have recently learned the Perl programming language. In particular, my assignment was to use object Perl as much as possible. Read morePublished 16 months ago by Amazon Customer
Let's face it, if you were seriously rigorous about your OO project you'd use a purpose-built OO language like Ruby or Python or (Seymour forbid) Java or C(insert modifier here). Read morePublished 22 months ago by Stephen Mann
Awesome book for advanced Object-Oriented Perl concepts.
I HIGHLY recommend it for anyone seeking advanced Perl programming techniques. Read more
If you are new to Object Oriented Perl, don't buy this buy for a tutorial. The author gets too involved in the code that wouldn't work rather than the code that would work. Read morePublished on May 24, 2012 by Nene
I've found a lot of good direction on figuring out and writing Object Oriented (OO) Perl programs in this book. The writer is also very humorous which adds to the enjoyment. Read morePublished on October 10, 2011 by F. K. MILLER
This is a fine book, but the passage of time has rendered some parts of it less relevant.
As an introduction to object oriented programming, and how to do it in Perl,... Read more
I am a newbie to perl and I'm writing an application that involves using object-oriented perl. I have not seen any other book that explains difficult concepts with amazing clarity... Read morePublished on February 4, 2007 by J. Onuoha
I have written a number of modules for Perl over the last 5 years, and I really wish I had bought this book earlier. Read morePublished on August 18, 2006 by R. Hulse