By chromatic , Damian Conway, Curtis Poe
May 2006
Pages: 296
Series: Hacks
ISBN 10: 0-596-52674-1 |
ISBN 13: 9780596526740
![]()
![]()
![]()
![]()
(Average of 1 Customer Reviews)
Perl Hacks taps into the collective wisdom of the world's most creative Perl gurus, so you can learn from their experiences. It's the perfect book for experienced developers looking for time-saving practical tips or dabblers who are simply curious about Perl's many
cool capabilities. Topics include user interaction, data munging, working with modules, object hacks, and debugging.
Full Description
With more than a million dedicated programmers, Perl has proven to be the best computing language for the latest trends in computing and business. While other languages have stagnated, Perl remains fresh, thanks to its community-based development model, which encourages the sharing of information among users. This tradition of knowledge-sharing allows developers to find answers to almost any Perl question they can dream up.
And you can find many of those answers right here in Perl Hacks. Like all books in O'Reilly's Hacks Series, Perl Hacks appeals to a variety of programmers, whether you're an experienced developer or a dabbler who simply enjoys exploring technology. Each hack is a short lesson--some are practical exercises that teach you essential skills, while others merely illustrate some of the fun things that Perl can do. Most hacks have two parts: a direct answer to the immediate problem you need to solve right now and a deeper, subtler technique that you can adapt to other situations. Learn how to add CPAN shortcuts to the Firefox web browser, read files backwards, write graphical games in Perl, and much more.
For your convenience, Perl Hacks is divided by topic--not according to any sense of relative difficulty--so you can skip around and stop at any hack you like. Chapters include:
Whether you're a newcomer or an expert, you'll find great value in Perl Hacks, the only Perl guide that offers something useful and fun for everyone.
I received this book as a token of appreciation for my contributions to the 2006 Perl Advent Calendar (http://perladvent.pm.org/2006/) . It's the first book I read as part of the O'Reilly Hacks' series of books (http://www.oreilly.com/store/series/hacks.csp) , and it proved to be a light yet informative and entertaining read.
The book covers various useful "hacks" or small tricks that allow one to achieve a lot of cool tasks when working with Perl. These tricks are unorthodox and stretch the limit of one's Perl knowledge. Since they require an advanced knowledge and understanding of Perl, I would recommend this book only for Perl experts. Some of the B:: using modules were even too high-level for me to understand how they worked internally. However, I understood the purpose of the code in all cases, even if I didn't understand the code itself.
So it is a recommended read for people who've worked with Perl a lot, and wish to learn many new and useful tricks. Perl Hacks for Perl hackers, indeed!
Although I've been working mostly with Ruby and Rails lately, I still find Perl one of the most powerful tools in my bag. I was skeptical about Perl Hacks when I saw it coming down the pipe, thinking it might be just another collection of obfuscated one-liners. Man, was I wrong. This book is a must-have. This is just the Perl Foo you've been waiting for. For example, there's a hack on Mac::Growl that explains how to trigger slick OS X GUI alerts from your Perl scripts. Perl Hacks demonstrates chromatic's complete mastery of Perl, as well his command of our editorial process. It's a fresh, well-organized look at the power and utility of this essential language.
-- Rob Orsini, Software Engineer, O'Reilly Media
"...a wild romp through areas that havent had much public attention."
--