• List Price: CDN$ 77.79
  • You Save: CDN$ 7.82 (10%)
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Pro Perl Parsing has been added to your Cart
+ CDN$ 6.49 shipping
Used: Good | Details
Condition: Used: Good
Comment: Shipped from the US -- Expect delivery in 1-2 weeks. Shows some signs of wear, and may have some markings on the inside. 100% Money Back Guarantee. Shipped to over one million happy customers. Your purchase benefits world literacy!
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Pro Perl Parsing Hardcover – Aug 23 2005

See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
CDN$ 69.97
CDN$ 28.22 CDN$ 21.24

Harry Potter and the Cursed Child
click to open popover

Special Offers and Product Promotions

  • You'll save an extra 5% on Books purchased from Amazon.ca, now through July 29th. No code necessary, discount applied at checkout. Here's how (restrictions apply)

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Product Details

  • Hardcover: 272 pages
  • Publisher: Apress; 2005 edition (Aug. 23 2005)
  • Language: English
  • ISBN-10: 1590595041
  • ISBN-13: 978-1590595046
  • Product Dimensions: 17.8 x 1.5 x 25.4 cm
  • Shipping Weight: 658 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #3,268,105 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

About the Author

Christopher M. Frenz is a bioinformaticist at New York Medical College and is the author of Visual Basic and Visual Basic.NET for Scientists and Engineers. Frenz is an expert in Perl and scientific programming, in addition to the .NET platform.

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: HASH(0xa4f3ce70) out of 5 stars 11 reviews
30 of 30 people found the following review helpful
HASH(0xa4959f9c) out of 5 stars Would have expected more Dec 28 2005
By Mike Schilli - Published on Amazon.com
Format: Hardcover
The first 108 pages of "Pro Perl Parsing" deal with basic parsing concepts and give examples on how to use a CPAN module to define parsers. It's not quite accurate at times, though: The author uses the terms 'precedence' and 'associativity' interchangably, although these are orthogonal concepts. And the parser on page 82 has a design flaw (hint: try parsing "(5*(3+4))+1)", which yields 40, ouch!).

Then come 30 pages with a manual-page style explanation of Damian Conway's Parse::RecDescent module, along with some interesting tidbits here and there.

However, I would have expected to read a better explanation of the underlying parsing theory, like a distilled and simplified version of the "Dragon" book (Aho, "Compilers"). I would have liked to read how to write a custom parser from scratch in Perl, like in Mark Jason Dominus' "Higher Order Perl". Also, I would have expected more practical examples on how to tackle common parsing problems.

However, the second half of the book starts with an explanation of the HTML language. We get to know how titles and lists and links are done in HTML. Then we learn how to fetch web pages with Perl. Also, we learn about web services via SOAP and XML-RPC, about formatting output in Perl and are getting a chapter on "data mining". These topics aren't related to "parsing" at all, though.

There's an example on page 202 on how to parse command line arguments by lumping them all together to form a single string and then firing up an expensive recursive descent parser to tear them apart. Experienced Perl programmers would solve this common problem elegantly in a single line of Perl, using the Getopt::Std module.

So, I'm somewhat ambivalent on this book. Since there's not many books on Perl parsing, I was excited about it, but I was somewhat disappointed by the lack of depth, accuracy, and the filler-style second half of the book. I would have liked to read more about parsing in Perl and less about how to use CPAN modules dealing with parsing-related topics. Had the book maintained a strong focus on plain "parsing", it could have been a slam-dunk five-star. So, it's only three -- worth reading, but not a potential classic.
6 of 7 people found the following review helpful
HASH(0xa495c00c) out of 5 stars An excellent primer on parsing Sept. 4 2005
By David DelGreco - Published on Amazon.com
Format: Hardcover
This is a great book on parsing for novices that goes over the different kinds of parsing tasks, looks at the different tools available, and gives numerous examples. It's also a great book for experienced Perl programmers who have limited experience with parsing, other than Text::CSV_XS and regexes. The most time is spent on Parse::RecDescent, the most popular parsing module for Perl, but it doesn't give others, like Text::Balanced and Parse::YAPP, short shrift. Later, he gives excellent help on parsing HTML and XML, and in the final chapters he introduces text and data mining. Quite an education!

So whether you have to parse structured or semi-structured text, you want to build yourself a little command language, you need to scan gobs of web or other documents for information, or have any parsing task where your regexes are just getting out of hand, then check out this book.

P.S. I don't know what psychoactives the first reviewer had consumed, but this book is not about "medical-text processing in particular," or even generally. It could be used for that, but it is a general, intermediate-to-advanced book on parsing with Perl. If you were thinking of buying it, it is what you think it is, and not what Dr. Oscar thinks it is.
7 of 9 people found the following review helpful
HASH(0xa495ce58) out of 5 stars Very techincal but just what I was looking for Sept. 17 2005
By Harold McFarland - Published on Amazon.com
Format: Hardcover
Wow! I do a lot of data parsing and this book is one of the best finds I have ever made. I should point out, however, that it is not for the average reader. This book is very technical in nature but absolutely fabulous if you are technically inclined or already proficient in Perl or have some experience parsing using another language. It seems that I am always finding strange problems that create a need to parse large amounts of data to extract only the relevant information and present it in a usable form. Author Christopher M. Frenz covers the whole gamut of parsing and does so in a very logical progressive manner. First he starts with the use of regular expressions and does a great job including some complex example of just what can be done. From there he moves to generative grammars and how they can be used to determine relevant data of interest within a text, XML or similar file. Then from there he builds on your understanding by discussing specialized modules that can be added to your Perl implementation and how they are used. And, of course, he discusses data mining and how to efficiently use this information. This is an excellent technical book that is a required resource for anyone using Perl to parse documents. Pro Perl Parsing is highly recommended.
7 of 9 people found the following review helpful
HASH(0xa495d4f8) out of 5 stars A little over my head, but that's OK Sept. 8 2005
By Anthony Lawrence - Published on Amazon.com
Format: Hardcover
Some of this was a little over my head. I'm "ok" with regular expressions, but when it gets into grammars, I'm a little weak and have some room to grow. That's OK: I know I need to learn more in this area. After all, what's the point of a book if it doesn't help you grow?

I liked that this introduced and explained parsing related CPAN modules that I otherwise might have been afraid to touch (CPAN is a great resource, but there's so much there that it intimidates those of us who aren't real Perl experts).

The examples generally related to things I do every day, so that was helpful. I'll need to spend more time in the grammar sections, and try out some of the CPAN modules, but this book is a definite keeper.
5 of 6 people found the following review helpful
HASH(0xa495dfe4) out of 5 stars A bit disappointing March 11 2006
By JJ Merelo - Published on Amazon.com
Format: Hardcover
Well, not was I was looking for. I would like to find something more than a description of what modules do, and that's mostly what it does. The last chapter is a smorgasbord of light descriptions of modules such as Text::Balanced, which have little or nothing to do with parsing, or with pro, and the chapter on XML processing looks like just a filler with little to add to the rest of the book or to the literature on XML+Perl.