Effective Perl Programming: Ways to Write Better, More Idiomatic Perl (Effective Software Development) 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
For years, experienced programmers have relied on Effective Perl Programming to discover better ways to solve problems with Perl. Now, in this long-awaited second edition, three renowned Perl programmers bring together todays best idioms, techniques, and examples: everything you need to write more powerful, fluent, expressive, and succinct code with Perl.
Nearly twice the size of the first edition, Effective Perl Programming, Second Edition, offers everything from rules of thumb to avoid common pitfalls to the latest wisdom for using Perl modules. You wont just learn the right ways to use Perl: Youll learn why these approaches work so well.
New coverage in this edition includes
- Reorganized and expanded material spanning twelve years of Perl evolution
- Eight new chapters on CPAN, databases, distributions, files and filehandles, production Perl, testing, Unicode, and warnings
- Updates for Perl 5.12, the latest version of Perl
- Systematically updated examples reflecting todays best idioms
Youll learn how to work with strings, numbers, lists, arrays, strictures, namespaces, regular expressions, subroutines, references, distributions, inline code, warnings, Perl::Tidy, data munging, Perl one-liners, and a whole lot more. Every technique is organized in the same Items format that helped make the first edition so convenient and popular.
Frequently bought together

- +
- +
Customers who viewed this item also viewed
Editorial Reviews
From the Back Cover
For years, experienced programmers have relied on Effective Perl Programming to discover better ways to solve problems with Perl. Now, in this long-awaited second edition, three renowned Perl programmers bring together todays best idioms, techniques, and examples: everything you need to write more powerful, fluent, expressive, and succinct code with Perl.
Nearly twice the size of the first edition, Effective Perl Programming, Second Edition, offers everything from rules of thumb to avoid common pitfalls to the latest wisdom for using Perl modules. You wont just learn the right ways to use Perl: Youll learn why these approaches work so well.
New coverage in this edition includes
- Reorganized and expanded material spanning twelve years of Perl evolution
- Eight new chapters on CPAN, databases, distributions, files and filehandles, production Perl, testing, Unicode, and warnings
- Updates for Perl 5.12, the latest version of Perl
- Systematically updated examples reflecting todays best idioms
Youll learn how to work with strings, numbers, lists, arrays, strictures, namespaces, regular expressions, subroutines, references, distributions, inline code, warnings, Perl::Tidy, data munging, Perl one-liners, and a whole lot more. Every technique is organized in the same Items format that helped make the first edition so convenient and popular.
About the Author
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Addison-Wesley Professional; 2nd edition (April 19, 2010)
- Language : English
- Paperback : 492 pages
- ISBN-10 : 0321496949
- ISBN-13 : 978-0321496942
- Item Weight : 1.52 pounds
- Dimensions : 7 x 1.11 x 9.13 inches
- Best Sellers Rank: #1,438,539 in Books (See Top 100 in Books)
- #76 in Perl Programming
- #693 in JavaScript Programming (Books)
- #2,763 in Software Development (Books)
- Customer Reviews:
Customer reviews
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 analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviewed in the United States on March 5, 2013
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
That said, there are times when Perl hits a "sweet spot": a) it is available on for all Linux distress; b) it integrates well in the shell environment; c) it easily replaces multiple shell-based utilities (sed, awk, bash, etc.); and there are modules to interact with the entire application stack. It is a useful tool and I needed to find a way to gain a appreciation for it.
Enter Effective Perl. I was introduced to the first edition of the book some time ago. The company that I worked for was transitioning away from Perl, but there was a lot of Perl code still in play. I had tried a number of other books and just couldn't "get it". The syntax wasn't the problem - it was the change in context. Very poorly explained in these other text. That early edition gave me enough insight to read and understand some Perl. I didn't need much as we were moving to another language at the time.
Years later, I'm doing a lot of Python code. So, why even look at Perl now? Well, Python is going through a lot of changes right now. Some tools "prefer" 2.x, while others "recommend" 3.3+. Different modules work with specific versions, etc. A lot of what I do is administrative work. I have to assume a base level of tools to being work; and I do not want to rely overly much on the shell alone. Perl, warts and all, provides the tools needed, a guaranteed presence, and an easier integration path.
This book helped me to "think" in Perl. This make it *a lot* easier to write efficient code and (more importantly) to debug the code written. Does this mean that I will give up Python (and Ruby)? Not a chance. Both are better OO based languages. (Yes, I know about Moose. I just prefer the other languages in this regard.) It *does* mean that I can safely replace a number of utilities with just one tool: Perl and like it.
Perl has some warts, but it can be an effective tool in the right circumstances. This is an excellent book to understand how to use Perl - when it is necessary to do so.
I bought this book for my Kindle, and just love the author's style. The author gets straight to the point, without alot of fluff. The topics are broken down into manageable chunks, so it is easy to read one or two when you have a few minutes. I have no issues reading it on my Kindle (unlike some computer books), the only downside to the Kindle version is that (for me) it can take longer to look up pieces of information when I want to refer to sections of the book as a reference. But, that's a Kindle issue and not anything negative against the contents of the book itself.
I love the examples in the book. The author's message is very clear, and easy to understand. Just when you think you know all of the Perl tricks, you read on and discover more. If there is a challenge in understanding an example, I can easily type it into my computer and try it for myself as the sample code snippets are quite short; however I found this is rarely needed.
I believe this book is a great way to develop smart effective Perl code - with the correct calls, the correct structure, the correct debugging, the correct packages, the correct idioms, etc. In addition, I feel this book is a great tutorial on the Perl language itself (even if you have never coded in Perl before); the author steps through the topics in a carefully designed manner, and slowly introduces the various programming constructs of Perl.
The only suggestion for improvement I have for the authors is to create exercises at the end of each chapter for users to apply some of the concepts learned. And, of course, I would appreciate answers to those exercises at the end of the book. Otherwise, it's a work of art. Thanks very much, and please continue writing more.
The book expresses a point of view/approach to Perl that has been very useful in thinking about how to approach specific types of problems. While it provides specific examples I think it is more about the thought process of how to approach problem solving within the context of Perl.
Others have pointed out the kindle version has many of the examples in the form of images. On my Kindle Fire HD 8.9", Dolby Audio, Dual-Band Wi-Fi, 32 GB - Includes Special Offers this does significantly diminish reading pleasure as they display quite small. The work-around I found was double tapping the image pop-up a zoomed view.
NOT ALL examples are in image format. Some are text. I strongly recommend the publisher fix this deficiency as it makes the book much less pleasant to read on backlit kindle versions.
Even so, the book is good enough in my opinion to warrant 4 stars.
I hope this helps someone.








