or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Pro Perl Debugging
 
 
Tell the Publisher!
I'd like to read this book on Kindle

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

Pro Perl Debugging [Hardcover]

Andy Lester (Author), Richard Foley (Author)
4.3 out of 5 stars  See all reviews (6 customer reviews)

Price: $54.99 & this item ships for FREE with Super Saver Shipping. Details
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.
Only 1 left in stock--order soon (more on the way).
Want it delivered Tuesday, February 14? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more


Book Description

March 14, 2005 1590594541 978-1590594544 1

The Practical Extraction and Reporting Language (Perl), has grown to be one of the most powerful and popular scripting languages. Combining the best features of C, UNIX utilities, and regular expressions, these days Perl is used for an array of tasks, including system administration, text processing and Web programming. Recently, it’s been used for more exotic areas like bioinformatics. Perl is supported by all of the most prominent operating systems, including Windows, Unix, OS/2, Amiga, and others.

Debugging Perl offers you a definitive reference for resolving the dilemma of application testing and debugging—one of the biggest time commitments in a programmer’s daily routine. This book rescues you from substandard application testing practices. The book commences with several chapters that overview the debugger’s basic features, then covers common debugging scenarios. The concluding portion features several chapters about optimizing and customizing the debugger, alternative debugging utilities, and debugging best practices


Frequently Bought Together

Pro Perl Debugging + Pro Perl Parsing + Pro Perl
Price For All Three: $148.91

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro Perl Parsing $43.95

    Usually ships within 1 to 3 weeks.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro Perl $49.97

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Richard Foley is currently working with DLR (German Space Organization), using Perl to test the storage area network for the Columbus European Space Station. He developed and managed the original Perl bug tracking database for 5 years and is the author of various CPAN modules, including File::Data, Mail::Vacation, Oracle::Debug, and Oracle::Trace. He is the author of perldebtut, the tutorial for the built-in debugger, which is distributed with the Perl source distribution. Foley also authored the book, Perl Debugger Pocket Reference (0596005032).

 


Product Details

  • Hardcover: 296 pages
  • Publisher: Apress; 1 edition (March 14, 2005)
  • Language: English
  • ISBN-10: 1590594541
  • ISBN-13: 978-1590594544
  • Product Dimensions: 9.2 x 7.1 x 0.9 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #498,629 in Books (See Top 100 in Books)

More About the Authors

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

 

Customer Reviews

6 Reviews
5 star:
 (3)
4 star:
 (2)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

8 of 8 people found the following review helpful:
3.0 out of 5 stars quite useful, but deserves a second edition, August 5, 2007
By 
This review is from: Pro Perl Debugging (Hardcover)
When I first saw a listing for this book, I assumed it was going to be a book about debugging Perl -- the title sort of led me in that direction. I thought it would give an overview of the common mistakes made by Perl programmers, how to catch them, how to correct them, and how to avoid making them in the first place. When I asked about the book, though, I found out that it's a book all about the Perl debugger. I use the debugger daily, and I only use a few of its features, so I was pretty excited about the book -- and even more excited to be getting a copy to review.

The only other book that really focuses on the debugger, as far as I know, is the Perl Debugger Pocket Reference, also by Richard Foley. I picked that up for $10 or so at a TPF auction and found it to be a decent pocket reference. I was hoping, though, that now I'd have a book that would cover the debugger in depth, soup to nuts.

Pro Perl Debugging does that, and it does it fairly well. It begins by explaining how and why the debugger can be used, and then introduces the most basic debugger commands. Subsequent chapters introduce new families of commands and options, and these new features are demonstrated through the use of the debugger on example code. Once all the commands and most of the options have been explained, there are a few chapters on specific challenges in debugging: forking and threading, debugging networked applications (like CGI apps), and regex debugging. The last few chapters cover GUI debugger frontends, profiling and optimizing, and the Perl compiler.

The book covers everything that I think it needs to cover, and covers it well enough that with some coding along, the reader can learn how to use the debugger and nearly all its features.

With all that said, though, I have to add that I think Pro Perl Debugging is an adequate book and not a great one. There are a number of technical errors in the book; most of these are just little mistakes that probably crept in because there was insufficient testing of the examples. While they're minor, they seem sure to cause confusion for readers who try the examples as they go. The examples themselves often seem arbitrary, and don't contribute much to the explanation of new features. At no point in the book did I ever think, "This example really made the usefulness of that new feature very clear." Usually, the feature's usefulness is self-evident, though. Unfortunately, some features are somewhat obscure, and are never very well explained. The dot command, which resets the working position to the current execution point, is particularly confusing. I only fully understood it after piecing together statements made about it across several chapters. The debugger prompt (a related issue) is also poorly explained, with some of its features never discussed.

The book's typographic conventions are ill-suited to the book's material, and in some cases seem to change from chapter to chapter. There is no distinction in the examples between user-entered text and debugger output. Editorial changes to the sample output (elisions, for example) are not handled in a consistent way. The structure of the book is also frustrating. Some chapters appear much later than seems appropriate (that on using the debugger as a REPL, for one). Others repeat material covered earlier. Finally, each chapter begins with a quotation. While this is sometimes a fun addition to an otherwise bland text, here the quotes seem random and the segue from quote to material is often strained.

I'm glad to have a copy of this book, and I've definitely learned some things from it. (Did you know that your debugger can spawn new xterms to handle forked processes?) I really hope that the book gets a second edition, because it has the potential to be an essential book for professional Perl programmers.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
4.0 out of 5 stars I was foolish to ignore this, August 11, 2005
This review is from: Pro Perl Debugging (Hardcover)
I've had this book for several weeks and foolishly ignored it. Part of that was because I was busy with a lot of other stuff, but a large part was that I didn't have much interest: what do I need a perl debugger for? What's wrong with "print"'s?

Boy was I wrong. By the second chapter I was kicking myself for being so stupid. Perl's debugger is a thing of joy - it almost makes me look forward to my next confused Perl program.. well, I'd still rather not have any problem at all, but reading this book gives me a powerful tool to help me figure out where I went wrong.

The authors suggest that some programmers just won't use debuggers. I think that attitude perhaps comes from experience with poor tools; the Perl debugger is an excellent tool. This book shows how it is much like Perl itself: you can use it at a simple level without much effort, but it has tremendous power
available too if you make the effort to learn. This definitely will help you do that.

This one is definitely a keeper.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
5.0 out of 5 stars Perl has a Debugger?, August 13, 2005
This review is from: Pro Perl Debugging (Hardcover)
Perl is one of the easiest language for doing "quirk and dirty" tasks, such as text manipulation and writing command-line utilities for your OS of choice. However, as any Perl programmer can tell you debugging can be a nightmare and most of rely on the old-fashioned print statement to aid most of our debugging work. As powerful as Perl is, one of the drawbacks has always been its lack of an efficient way to debug and test the code. Too often than not more time is spent debugging the code than actually writing the logic to do the task at hand!

In Pro Perl Debugging, Richard Foley and Andy Lester introduce and explain the rarely-seen, often under-utilized Perl Debugger (What? You didn't know one existed; fear not, neither did I until I read this book!). Each chapter takes you through the steps of using the debugger and introduces various new concepts throughout. Chapters are further subdivided into three sections that cover more broader topics such as the final section which is devoted to mainly reference and optimization of techniques learned in the previous sections.

You will learn the concept of what the authors term fixing the bug instead of merely finding the bug. As they point out, a lot of us pursue the task of finding a bug only to introduce other bugs as we try to pinpoint it down. This book provides a working guide to help you migrate from the print statement and sloppy code searching into a more defined, technique driven approach using the debugger.

The book is a great source for the experienced Perl programmer who wants to get a better handle over bug control and code debugging techniques. I would caution beginning Perl users to get a grasp first more on the language before diving into use of the debugger as it can be complex at times. However, seasoned Perl programmers will find a lot of the concepts and techniques given to be a great timesaver and tool for use within programs that both already exist and on the drawing board.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews




Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(5)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject