on 5 October 1999
This is a book that many people have been awaiting for a very long time. There are a large number of Perl books on the market and many of them include a chapter or two on Object Oriented Programming using Perl, but this is the first book completely devoted to the subject.
As a bonus, not only does the book cover a very useful and interesting subject, but it is also extremely well written and easy to understand. Everyone who is serious about writing Perl programs should buy this book.
on 15 July 2007
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, this is one of the best sources you could learn from. Neither The Alpaca nor The Camel do such a good job.
And it's not just objects that are well covered. You'll also find lucid explanations of closures, type globs, the symbol table and tied variables, all of which can be considered advanced Perl.
Elsewhere, though, the material has not aged so well, superseded by the author's own Perl Best Practices, where some of the recommendations have been reversed, or improved upon ('inside out' classes, for example, as implemented in Class::Std, is a superior development of the flyweight approach mentioned in this book). Some of the material, which concentrates on CPAN modules, and the experimental pseudohashes is not so useful in the light of this - the latter are on course to be removed in Perl 5.10. The sections on building objects using references to things other than hashes (e.g. arrays, regular expressions and subroutines) is clever, but this reader was unconvinced of their utility.
There's also coverage of generics, although in Perl this is not much like generics in C# or Java, basically passing around Perl code as uninterpolated text strings and then evaling it inside a subroutine, where any lexical values are interpolated.
Finally, there are chapters on multimethods (no more elegant or manageable in Perl than other languages that support this feature, alas) and persistence.
The principles discussed remain relevant, and the book is a pleasure to read. However, if you already familiar with OOP and just want to get going as fast as possible, the relevant chapters of Intermediate Perl and Perl Best Practices might be better places to look.
on 9 August 2012
This is the classic of Perl OOP, everybody must have who is planning to do some serious Perl, not just OOP, but even for functional Perl. May not use the latest code features, but still the best reference for OO Perl.
on 6 April 2006
A lot of programming books waffle.
This one doesn't , Damian Conway has perfected the art of explaining quite a complex subject in an easy to understand and concise way, with a touch of subtle humour along the way.
I'd give it more stars , only Amazon limit me to 5.
This book should be at the top of anyone's shopping list who is serious about learning Perl, especially if you want to use Perl for more than just hacking out disposable scripts.
Perl can be a highly scalable language , if you use the principles in this book and Damian Conway's other book "Perl Best Practices".
Perl programming can also be a dog's dinner when left in the hand's of hackers, but then this book (along with "Perl Best Practices") will take you from being a Perl Hacker to a Perl Developer of scalable solutions. It did with me , Thank you Damian !