Buy new:
£32.01£32.01
FREE delivery 9 - 14 September
Dispatches from: ErgodeBooks Ships From USA Sold by: ErgodeBooks Ships From USA
Save with Used - Very Good
£3.68£3.68
FREE delivery 15 - 17 August
Dispatches from: awesome_books_001 Sold by: awesome_books_001
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
OO Perl: A Comprehensive Guide to Concepts and Programming Techniques Paperback – Illustrated, 12 Oct. 1999
Purchase options and add-ons
- ISBN-101884777791
- ISBN-13978-1884777790
- EditionIllustrated
- PublisherManning Publications
- Publication date12 Oct. 1999
- LanguageEnglish
- Dimensions18.85 x 2.54 x 23.42 cm
- Print length490 pages
Product description
Amazon Review
The most notable thing about Object Oriented Perl is the author's excellent perspective on object- oriented concepts and how they are implemented in Perl. This book does a remarkable job at 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++, 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 author points out common mistakes and provides many tips for navigating the powerful and flexible (yet sometimes tricky) nuances of using Perl objects. For instance, he 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.
The author also pays good attention to popular object modules available from CPAN (like Class::MethodmakerK, which simplifies declaring classes). He also discusses performance issues and the trade-off 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: Method maker modules, Perl ties and closures, operator overloading, encapsulation, multiple dispatch, Class: Multimethods, coarse-grained and fine-grained object persistence techniques, performance issues.
About the Author
Schwartz owns & operates Stonehenge Consulting Services
Product details
- Publisher : Manning Publications; Illustrated edition (12 Oct. 1999)
- Language : English
- Paperback : 490 pages
- ISBN-10 : 1884777791
- ISBN-13 : 978-1884777790
- Dimensions : 18.85 x 2.54 x 23.42 cm
- Best Sellers Rank: 1,983,126 in Books (See Top 100 in Books)
- Customer reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
- 5 star4 star3 star2 star1 star5 star80%12%8%0%0%80%
- 5 star4 star3 star2 star1 star4 star80%12%8%0%0%12%
- 5 star4 star3 star2 star1 star3 star80%12%8%0%0%8%
- 5 star4 star3 star2 star1 star2 star80%12%8%0%0%0%
- 5 star4 star3 star2 star1 star1 star80%12%8%0%0%0%
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from United Kingdom
There was a problem filtering reviews right now. Please try again later.
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.
Top reviews from other countries
The book is a well paced introduction to OO, illustrating and implementing the core concepts of OO in the context of Perl. While the earliest chapters serve as building blocks to those that follow, the later chapters need not be read front to back, but rather as the topic appeals to the reader.
Topics covered include: inheritance, polymorphism, ties, operator overloading, encapsulation, genericity, multiple dispatch, and persistent objects. Each topic is introduced along with code which highlights how each technique helps to solve common real world problems. As various tips, tricks, and pitfalls are covered, the reader will often find themselves revisiting and evolving improved solutions to familiar problems.
A lot of languages implement a particular flavor of OO. And indeed, OOP shows a variety of the techniques and flavors of OO and how they may be implemented in Perl. -Explaining when and where each may best be used, and trade-offs involved. As a result, the reader comes away from the book with a greater understanding of OO, and not just a single style embraced by a particular language.
Conway and Schwartz are well-known and respected throughout the Perl community. Their writing is clever, humorous, and while information dense... surprisingly easy to follow. There is a sense of grace and continuity to their writing which made this book a real pleasure to read.
I do wish this had been released a few years ago as it has pointed out a few errors in the way that I have been doing things. My ways work, but Damian shows techniques for improving the efficiency of object that I hadn't thought of before.
If you are at the point in learning perl that you are starting to cut and paste code from your other scripts to do the same thing in a new script - it is time to buy this book. Cut and paste that code into an new module and you will never need to copy it again, this book will show you how.
Even if you are just 'making a module' and aren't really thinking of making classes and objects, read this text - or at least use it as a reference. By doing a small amount of extra work beyond making a module you will be doing OO programming. This book shows you how easy it is to do.