Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Object Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques [Paperback]

Damian Conway , Randal L Schwartz
4.7 out of 5 stars  See all reviews (44 customer reviews)

Available from these sellers.

Join Amazon Student in Canada

Book Description

Jan. 1 2000 1884777791 978-1884777790
Techniques and tricks to master basic and advanced OO Perl for programmers who already have basic to intermediate skills in procedural Perl.

Customers Who Bought This Item Also Bought

Product Details

Product Description

From Amazon

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.

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

Most helpful customer reviews
5.0 out of 5 stars Great Book. Highly recommended. June 10 2004
The author has a very methodical way of introducing concepts and overall has done a very good job. What seems like easy flow as far as the reader is concerned was probably a lot of hard work on his part.
The wry humor in the book alone is worth the money.
I am still unable to take the plethora of my perl scripts and modularize them but that is not the author's fault.
Compare this book with " Learning Perl Objects, References & Modules By Randal L. Schwartz". This does a much better exposition.
Was this review helpful to you?
4.0 out of 5 stars Makes perl more tolerable April 22 2004
By A Customer
This is a good book because it shows some ways to make using the abomination known as Perl a slightly less infuriating experience. Use the samples from this book as cookie-cutter templates and you'll find that you can actually write useful programs beyond the typical 20-30 lines which is ordinarily Perl's maximum useful threshold before it deteriorates into illegible unmaintainable garbage.
For those like me who are forced to write Perl against their will, this book is a must-have. In contrast to some other Perl books out there, this one doesn't get into cutesy terminology like calling things 'spaceship operator' or similar uses of sloppy informal language.
Was this review helpful to you?
5.0 out of 5 stars The low-level "why" book Oct. 25 2003
Preface: I'm a detail person, the top level view is what I ignore to get to the facts. I am entirely turned off by the normal practice of writing up one or two example apps, and then ignoring giving the full details on commands, such as what all the options are, or what the syntax to uuse is. If your app is different than the example, you're pretty much out of luck. That's the situation that other books I'd bought had placed me, while I was trying to learn Perl for a non-trivial app I needed to deliver. I was so frustrated I was nearly in tears.
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.
Was this review helpful to you?
1.0 out of 5 stars Surprisingly Disappointing Aug. 13 2003
By Jake
After reading so many positive reviews of Damian Conway's "Object Oriented (OO) Perl," I decided to buy a copy and increase my understanding of said subject. Unfortunately, after about two months of thoroughly dissecting each chapter in the book, I must admit that I was surprisingly disappointed.
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 ›
Was this review helpful to you?
4.0 out of 5 stars For OO Perl, this is the book. May 10 2003
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.
Was this review helpful to you?
5.0 out of 5 stars The best text on the subject April 23 2003
So you've been writing perl for while, you know your way around the camel book, and you even know a lot of the CPAN library. You've written a few CGI pages, and maybe even some mod_perl module.
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.
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
4.0 out of 5 stars The One and Only Reference for OOP Perl
In short, this book is a must-have if you are a serious Perl programmer (or thinking of becoming one). Read more
Published on Jan. 17 2003 by Alex Green
5.0 out of 5 stars Kansas City Perl Mongers (KC.PM) Book Review
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 more
Published on Oct. 17 2002 by C. Garrett Goebel
5.0 out of 5 stars A wonderful book
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 more
Published on May 21 2002 by Timothy D. Shoppa
5.0 out of 5 stars No question about it, a must have.
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 more
Published on May 7 2002 by M. Riffle
4.0 out of 5 stars Best Perl OOP book.
I pick up this book to learn Perl out of necessity and to see what Perl has to offer in terms of OOP. Read more
Published on May 1 2002 by B. K. Lau
5.0 out of 5 stars The OO Perl Bible
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 more
Published on April 9 2002 by Thomas Stanley
5.0 out of 5 stars Great Book!!!
I've been writing PERL for years and this book was able to open my eyes to quite a few new concepts. Great book!
Published on March 4 2002 by D. Thurston
Search Customer Reviews
Only search this product's reviews

Look for similar items by category