Programming Books C Java PHP Python Learn more Browse Programming Books
Perl Hacks and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Perl Hacks on your Kindle in under a minute.

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

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving [Paperback]

by chromatic, Damian Conway, Curtis "Ovid" Poe
4.7 out of 5 stars  See all reviews (11 customer reviews)

List Price: $29.99
Price: $20.99 & FREE Shipping on orders over $35. Details
You Save: $9.00 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $13.49  
Paperback $20.99  
Technology Books from O'Reilly Media
Brush up on topics from programming to electronics for readers of all levels in the O'Reilly Media bookstore. Browse titles in the animal books, "Missing Manuals," "Head First," series, and more.

Book Description

May 15, 2006 0596526741 978-0596526740 1

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 toany sense of relative difficulty--so you can skip around and stop at any hack you like. Chapters include:



  • Productivity Hacks
  • User Interaction
  • Data Munging
  • Working with Modules
  • Object Hacks
  • Debugging


Whether you're a newcomer or an expert, you'll find great value in Perl Hacks, the only Perl guide that offers somethinguseful and fun for everyone.


Frequently Bought Together

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving + Perl Best Practices + Perl Cookbook, Second Edition
Price for all three: $83.74

Buy the selected items together


Editorial Reviews

About the Author

chromatic manages Onyx Neon Press, an independent publisher. His areas of expertise include agile software development, language design, and virtual machines for dynamic languages. He is also a published novelist. His books include The Art of Agile Development and Masterminds of Programming.

Dr. Damian Conway is a Senior Lecturer in Computer Science and Software Engineering at Monash University (Melbourne, Australia), where he teaches object-oriented software engineering. He is an effective teacher, an accomplished writer, and the author of several popular Perl modules. He is also a semi-regular contributor to the Perl Journal. In 1998 he was the winner of the Larry Wall Award for Practical Utility for two modules (Getopt::Declare and Lingua::EN::Inflect) and in 1999 he won his second "Larry" for his Coy.pm haiku-generation module.

Curtis (Ovid) Poe is a CPAN author, a TPF Steering Committee Member, and the TPF Grant Committee Secretary. He likes long walks on the beach and single malt scotch, but hates writing bios. Ovid writes for Perl.com too.

Curtis (Ovid) Poe is a CPAN author, a TPF Steering Committee Member, and the TPF Grant Committee Secretary. He likes long walks on the beach and single malt scotch, but hates writing bios. Ovid writes for Perl.com too.


Product Details

  • Series: Hacks
  • Paperback: 298 pages
  • Publisher: O'Reilly Media; 1 edition (May 15, 2006)
  • Language: English
  • ISBN-10: 0596526741
  • ISBN-13: 978-0596526740
  • Product Dimensions: 9 x 6.1 x 0.7 inches
  • Shipping Weight: 14.4 ounces (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #213,078 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.7 out of 5 stars
(11)
4.7 out of 5 stars
4 star
0
3 star
0
1 star
0
Most Helpful Customer Reviews
49 of 52 people found the following review helpful
Format:Paperback
This book is for experienced working Perl programmers - most likely system administrators but not necessarily - that need working solutions to real problems you'll most likely find in the workplace. There are a few diversions into such "cute" ideas as building animations in Perl, but most of these hacks are for the working programmer who is looking for ways to automate processes, build interfaces that don't get in the way of developers, and thoroughly test and simulate code. Amazon does not show the table of contents so I review this book in the context of the table of contents.

Chapter 1, Productivity Hacks

The hacks in this chapter are about relentless automation - saving time and effort. They allow you to find the information you want, automate repeated tasks, and find ways not to have to think about things that you do all the time.

Chapter 2, User Interaction

Menus, graphics, beeps, and command lines: these are all ways your programs grab user attention. This chapter is about keeping your users happy and even making your interfaces "pretty" with Perl. People may not notice when your code stays out of their way, but you know by their grimaces when it becomes an obstacle. My favorite hack in this chapter was Hack #16 "Interactive Graphical Apps". This uses sdlperl, which is a binding of the C low-level graphical library SDL for the Perl language. The hack is a short example program animating a colored rectangle and its fading tail. It first creates the needed series of surfaces, with a fading color and transparency, then animates sprites along a periodic path. It is a good example of using a GUI in PERL.

Chapter 3, Data Munging

Perl exists to extract, reformat, and report data.
Read more ›
Comment | 
Was this review helpful to you?
21 of 21 people found the following review helpful
5.0 out of 5 stars Excellent Practical Advice for Perl Programmers May 27, 2006
Format:Paperback
If your a serious Perl programmer or a long-time Perl scripter whose looking to broaden your horizons then this is an excellent book. Surprisingly, this is really a Perl book for professional Perl developers, sys-admins, and scripters. This book avoids parlor-tricks like "Controlling your coffee maker with Perl" and focuses on how best to make writing and testing Perl code quick, easy, and sometimes even fun.

O'Reilly's "Hacks" series of books have been hit or miss. Many books in this series regurgitate the basics a veteran probably already knows or provide convoluted or contrived examples that usually try to do too much, leaving you to extrapolate to the problem at hand. "Hacks" books can often contain an overabundance of gimmicks or games which, while instructive, can only have practical considerations for very few programmers. Some of these flaws would be acceptable in a book about "gaming" or "tuning your car" for non-professionals; this book is for people who know Perl and want to do more with it.

Perl is a language that often gets called on for quick and dirty tasks so perhaps it's natural that the book has allot of excellent advice. This book manages to not reiterate the information of the core Perl book trilogy ("Learning Perl", "Programming Perl" and the "Perl Cookbook"). Instead it focuses on practical UI, database, and developer tips and tricks. It assumes you know how to put Perl through it's paces and focuses on helping you do things more effectively.

I won't repeat the table of contents except to say that object-oriented programming, modules, user-interfaces, databases, and debugging are given plenty of coverage.
Read more ›
Comment | 
Was this review helpful to you?
14 of 14 people found the following review helpful
5.0 out of 5 stars Excellent Compendium of Perl Tricks November 21, 2006
Format:Paperback
To be completely honest, this isn't the book I thought it was going to be. Most O'Reilly Hacks books start off pretty simply and in a few chapters take you to the further reaches of their subject area. Whilst this is a great way to quickly get a good taste of a particular topic, it has the occasional disadvantage that for subjects that you know well, the first couple of chapters can seem a bit basic. As I know Perl pretty well, I thought I would be on familiar ground for at least half of the book.

I was wrong.

Oh, it started off easily enough. Making use of various browser and command line tools to get easy access to Perl documentation, creating some useful shell aliases to cut down typing for your most common tasks. "Oh yes", I thought smugly to myself, "I know all that". But by about Hack 5 I was reading about little tweaks that I didn't know about. I'd start a hack thinking that I knew everything that the authors were going to cover and end up frustrated that I was on the tube and couldn't immediately try out the new trick I had just learnt.

It's really that kind of book. Pretty much everyone who reads it will pick up something that will it easier for them to get their job done (well, assuming that their job involves writing Perl code!) And, of course, looking at the list of authors, that's only to be expected. The three authors listed on the cover are three of the Perl communities most respected members. And the list of other contributers reads like a who's who of people who are doing interesting things with Perl - people whose use.perl journals are always interesting or whose posts on Perl Monks are worth reading before other people's.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars So so...
Do not buy this book. Not really worth it. I think the perl black book would be better and teach you more. Read more
Published 23 months ago by my original pen name
5.0 out of 5 stars Like a collection of really good blog posts
Imagine that chromatic were to write a professional once-a-week blog for the span of about two years, with edits and ideas from Damian Conway and Curtis "Ovid" Poe, focusing on... Read more
Published on October 18, 2009 by David Mertens
5.0 out of 5 stars An excellent way to get more out of Perl than you ever realized
Perl is my workhorse language. I've written more Perl code, both personally and professionally, than any other language I've learned. Read more
Published on October 28, 2007 by Craig Maloney
5.0 out of 5 stars Super-advanced Perl
From the title, I wasn't quite sure what to expect from Perl Hacks. Was it going to be about rummaging around in Perl's internals? Read more
Published on July 21, 2007 by Thing with a hook
5.0 out of 5 stars A Great Collection of Perl Tricks
I received this book as a token of appreciation for my contributions to

the 2006 Perl Advent Calendar. Read more
Published on February 9, 2007 by Old and Feeble
5.0 out of 5 stars Do perl or die - $@
In a time when new computer languages are dime a dozen, perl unquestionably retains its beauty. Keeping with the philosophy of perl - there is more than one way to do it - the book... Read more
Published on November 17, 2006 by Rupesh Verma
5.0 out of 5 stars Perl manual or detective stories? It's both!
Perl hacks is an intriguing book which explores specific problems and their quite practical solutions. This book is easy to dive in and out of. Read more
Published on May 24, 2006 by Julian Cash
5.0 out of 5 stars What an excellent new Perl book
I've learned enough from the first two chapters along to justify the price of this book. Even if you are an intermediate Perl programmer, this book has various tidbits that will... Read more
Published on May 12, 2006 by M. Goldshteyn
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa25e2cd8)

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category