- You'll save an extra 5% on Books purchased from Amazon.ca, now through July 29th. No code necessary, discount applied at checkout. Here's how (restrictions apply)
Object Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques Paperback – Jan 1 2000
Special Offers and Product Promotions
Customers Who Bought This Item Also Bought
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Perl has always been a powerful and popular programming language, but with its new object capabilities, it can do even more. Written for anyone with a little Perl experience, Damian Conway's Object Oriented Perl provides an invaluable guide to virtually every aspect of object-oriented programming in Perl.
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
Originally designed as a simple scripting language, Perl is now a full-fledged object-oriented programming language. Conway's guide discusses for experienced Perl programmers object-oriented design concepts and how they work in Perl. For academic and larger public library computer science collections.
Copyright 2000 Reed Business Information, Inc.
Top Customer Reviews
I don't recall what caused me to buy this book; perhaps it was the only Perl OO book. I am so glad I did, because the amount of info that the author has put into this book is amazing. Not just that, it's the *choices* he made, of what to explain. He's picked all the pieces that the other books glossed over, and examined the missing pieces, so that I now understand the"why" behind many oddities, and I now can push myself much farther forward.
Sort of like, the other books pose the questions, this book answers them.
If you only buy 2 Perl books, make this one of them. Ignore the fact that the title says OO. Yes, it does a great job of explaining how the OO features mechanically work, but the reason to buy this book is all the extra backgrounder info that's in this, it's worth twice what they're asking for. The data often has nothing to do with the OO features, he's probably remembering all the details that HE had to go run down, and he's giving us all these data pearls (pun intended) for free, along with the payment for the OO data.
Don't buy this book to learn object-oriented programming, but if you want to learn how Perl manages to add OO features, and accidentally learn how Perl adds in a great many other features, then you're in the right place.
I consider the first two chapters ("What you need to know first" and "What you need to know second") to be well written and quite useful. These chapters effectively and succinctly expressed the non-OO aspect of Perl programming. When I delved excitedly into chapter three, however, it seemed to me that Damian Conway lost his interest in teaching Perl, in lieu of underlining his own mastery of the language. Too many times I recall his overly complicated one-liners getting in the way of a clear explanation of the point he was trying to convey. I bought Damian Conway's OO Perl because I wanted to learn more about object orientation in Perl-not to view obfuscated code. A *lot* more clarity would have the made the book much more useful.
A second frustrating point about the book is how Damian writes a given class, and then fails to provide even a simple example of how to use said class. As a programmer reading the book, I found it quite annoying that I had to so often write my own "class calling" scripts. Of the many classes contained in the contents of the book, I recall only one or two working examples of how to use said classes! This baffled me throughout the book. I kept wondering, "Are examples of how to use these classes available on a website or something?" Even as I write this review now, I'm shaking my head at the lack of examples provided in the book.
In my opinion, the most appropriate title for Damian Conway's book is "Obfuscated Object Oriented Perl.Read more ›
But you can't figure out the point of some of those perl features. Blind hashes? What are they for? And that 'bless' instruction? And typeglobs- huh? Maybe you're puzzled by that odd syntax some of the CPAN modules use- $class->export($var)? What's that all about?
Relax. You've just stumbled into the world of object-oriented perl programming. And it's not as hard as you may think. Conway does a wonderful job of explaining how OOP works. His examples are perfectly transparant, and perfectly obvious. And he shows how OOP construction can be summed up neatly in three simple rules.
There aren't a lot of prerequisites needed to make good use of this book. If you've got a basic familiarity with perl, and some basic experiece with programming, you're ready to dive in. Conway even gives you a review of the necessary perl essentials you'll need in chapters 2 and 3.
A first-rate book, and one destined to be a perl classic.
Having programmed in VB, C,C++, Java, C#, Forth,Pascal,etc I would say that honestly, Perl is very prone to bugs and hard to read(least readable lanaguage I have seen) and maintain. About the only advantage I see is that it's wide legacy code base in Unix platforms and its terseness(if you feel smart writing cryptic code). In my opinion,honestly, C/C++ code is easier to read because of its stricter syntax.
The OOP in Perl is added as an afterthought and is not clean and there's messy embodiment of complex scaffolding as one reviewer correctly pointed out.
If you have to maintain legacy Perl code and need to write some out of neccessity, this book has much to offer. I like the diagrams and illustrations in it. The author goes to great length to explain things.
If you like clean OOP language, skip Perl and use Java/C# instead. But if you still want a scripting language like Perl, try Python or Ruby instead.
Most recent customer reviews
The author has a very methodical way of introducing concepts and overall has done a very good job. Read more
This is a good book because it shows some ways to make using the abomination known as Perl a slightly less infuriating experience. Read morePublished on April 22 2004
If you've done the Learning Perl, Programming Perl and maybe the Perl Cookbook books, and still want to know more about OO Perl, this book should make you very well rounded.Published on May 10 2003 by Tim Greer
In short, this book is a must-have if you are a serious Perl programmer (or thinking of becoming one). Read morePublished on Jan. 17 2003 by Alex Green
OOP is the definitive book on Object Oriented (OO) programming in Perl. It starts out with a very gentle 20 page primer on essential OO concepts, and follows on with a 50 page Perl... Read morePublished on Oct. 17 2002 by C. Garrett Goebel
This book gives a very excellent all-around perspective on object-oriented programming. The examples are a bit limited in scope, but this is made up for by showing the evolution... Read morePublished on May 21 2002 by Timothy D. Shoppa
All of the other reviews for this book pretty much get it right: This book is a must have for any moderately serious Perl programmer who needs to work with or develop object... Read morePublished on May 7 2002 by M. Riffle
If you work with the Perl language and you want to explore the facets of Object-Oriented programming in Perl, then this is the book that you must have. Read morePublished on April 9 2002 by Thomas Stanley
Look for similar items by category
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design
- Books > Computers & Technology > Software
- Books > Textbooks > Computer Science & Information Systems > Object-Oriented Software Design
- Books > Textbooks > Computer Science & Information Systems > Programming Languages