Pro Perl Parsing and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
Sell Back Your Copy
For a $0.40 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Pro Perl Parsing
 
 
Start reading Pro Perl Parsing on your Kindle in under a minute.

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

Pro Perl Parsing [Hardcover]

Christopher M. Frenz (Author)
4.3 out of 5 stars  See all reviews (10 customer reviews)

List Price: $54.99
Price: $43.95 & this item ships for FREE with Super Saver Shipping. Details
You Save: $11.04 (20%)
  Special Offers Available
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
Usually ships within 10 to 13 days.
Ships from and sold by Amazon.com. Gift-wrap available.
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $31.02  
Hardcover $43.95  

Book Description

1590595041 978-1590595046 August 23, 2005 1

Perl, one of the world’s most diffuse programming languages, was born out of the need to resolve the creator's dissatisfaction with what were at the time standard data-parsing solutions. Indeed, since the 1.0 release in 1987, Perl has been heralded for its powerful parsing capabilities features that are further enhanced through the thousands of Perl extensions made available through CPAN (the Comprehensive Perl Archive Network).

Pro Perl Parsing begins with several chapters devoted to key parsing principles, discussing topics pertinent to regular expressions, parsing grammars, and parsing techniques. This material sets the stage for later chapters, which introduce numerous and powerful CPAN parsing modules, and provide an ample supply of example applications.

Table of Contents

  1. Parsing and Regular Expression Basics
  2. Grammars
  3. Parsing Basics
  4. Using Parse::Yapp
  5. Performing Recursive-Descent Parsing with Parse::RecDescent
  6. Accessing Web Data with HTML::TreeBuilder
  7. Parsing XML Documents with XML::LibXML and XML::SAX
  8. Introducing Miscellaneous Parsing Modules
  9. Finding Solutions to Miscellaneous Parsing Problems
  10. Performing Text and Data Mining

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

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

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

Buy the selected items together
  • Usually ships within 10 to 13 days.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro Perl Debugging $50.24

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

  • Pro Perl $56.59

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


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Christopher 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.

Product Details

  • Hardcover: 272 pages
  • Publisher: Apress; 1 edition (August 23, 2005)
  • Language: English
  • ISBN-10: 1590595041
  • ISBN-13: 978-1590595046
  • Product Dimensions: 9.3 x 7.2 x 0.9 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #634,496 in Books (See Top 100 in Books)

More About the Author

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

 

Customer Reviews

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

24 of 24 people found the following review helpful:
3.0 out of 5 stars Would have expected more, December 28, 2005
By 
Michael Schilli (San Francisco, CA USA) - See all my reviews
(REAL NAME)   
This review is from: Pro Perl Parsing (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 6 people found the following review helpful:
5.0 out of 5 stars An excellent primer on parsing, September 4, 2005
By 
David DelGreco (Bay Area, CA USA) - See all my reviews
(REAL NAME)   
This review is from: Pro Perl Parsing (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 5 people found the following review helpful:
3.0 out of 5 stars A bit disappointing, March 11, 2006
This review is from: Pro Perl Parsing (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.
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)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
reduce using rule, math parser, parsing tasks, precedence declarations, parser object, grammar file, regular expression engine, parser module, parsing modules, startup actions, parser generation, parse method, sentence generation, sentential form, descriptive modeling, generation failure, production tree, parse tree, need token, hidden layer neurons, grammar specification, being parsed, data mining tasks, flag specifies
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Christopher Frenz, Apress Web, Pro Perl Parsing, The State Machine Figure, Capturing Substrings, Chris Frenz's Apress Books, Damian Conway, List Item, Section Heading, The Main Page Heading, World Wide Web, Prentice Hall, Tip Another
New!
Books on Related Topics | Concordance | Text Stats
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.
 
(4)

Your tags: Add your first tag
 

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



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject