Paperback, 177 Pages
Ships in 3-5 business days
One programmer explores solutions to the traditional problems of the patterns movement using a variety of Perl techniques. Introductory chapters explain reference based data structures, closures, mix-ins, and recursion. Then the book applies those techniques and others to solve patterns problems, usually without objects.
Ratings & ReviewsLog in to review this item
2 People Reviewed This Product
Oct 15, 2009"Great book!" I highly recommend this book. I think it was supposed to be released by APress, but for whatever reasons the book was pulled before release. Fortunately for us though, Crow self-published it on Lulu (and discarded the subtitle "secrets of the cpan masters"). It's an excellent book that draws on the insights of the Design Patterns gang of 4 folks, but shows how the idiomatic and creative use of Perl enables better control flow and program organization than would be possible simply applying the ideas of GoF in strictly OO Perl. Crow uses OO technique where they offer an advantage in elegance or clarity, but applies more direct techniques in cases where the OO methodology would only get in the way. Perl is a lot more flexible and expressive than a language like Java or C++ (though less so than Lisp), and this enables Crow to go beyond the GoF patterns and get into techniques of the variety explored in Dominus's classic Higher Order Perl, but in the... More > context of patterns.< Less
Oct 11, 2009As a professional software developer who writes in many languages for many reasons, I've written more than a few scripts in Perl. I often became frustrated, however, when implementing certain object-oriented designs in Perl. So much that I eventually abandoned Perl's object model altogether. It was as if the object-oriented design I'd come to rely on was suddenly burdensome overkill. Now I understand why. Design Patterns (Gamma et al.) was (and is) a hugely popular and important book for OO developers. It has become so well regarded, in fact, that many developers I know now believe that the best solution to most problems is an object-oriented one. Perlish Patterns encourages the reader to instead consider Design Patterns as a collection of important problems that happen to have OO solutions. Many of them, it turns out, have more Perlish solutions as well. That is what this book is about. Of course, the author also reminds us that Perl has a full object system and, especially as your... More > problem complexity increases, you may still want to fall back on the object-orient solutions found in Design Patterns. While accessible to the beginning Perl student, this is not a book about beginning in Perl. The author does assume some very basic knowledge of Perl. For example, the reader should already know how to create a simple "Hello world" program, be familiar with some basic built-ins (like 'print') and know what a blessed reference is. The book is divided into two parts. Part I covers some basic (and not so basic) techniques that will be useful throughout Part II. Part I introduces data containers, closures, mixins, and recursion. Part I, especially the clear explanations for dealing with references, was worth the price of admission for me. It seems I always have to look up some this after being away from Perl for too long. Part II describes the patterns themselves. In comparing the organization here to that in Design Patterns you will find that while many patterns have their own chapter, some closely related patterns have been grouped together. The last chapter contains a larger collection of patterns that the author felt required little discussion, either because he considered the original object-oriented solution to be the preferred one or because the implementation in Perl was too simple to require its own chapter. Perlish Patterns changed the way I think about and approach writing programs in Perl. More importantly, it's made programming in Perl more enjoyable, more fun.< Less
There are no reviews for previous versions of this product
- Phil Crow (Creative Commons Attribution 2.0)
- July 8, 2009
- Perfect-bound Paperback
- Interior Ink
- Black & white
- 0.7 lbs.
- Dimensions (inches)
- 6 wide x 9 tall
Your notification has been sent
Lulu Staff has been notified of a possible violation of the terms of our Membership Agreement. Our agents will determine if the content reported is inappropriate or not based on the guidelines provided and will then take action where needed.
Thank you for notifying us. We will email you with the results and/or actions taken as a result of the investigation if you chose to receive confirmation.
We were unable to complete your request.
We were unable to complete your request.
The page you are attempting to access contains content that is not intended for underage readers.
Please verify your birth date to continue.