Penguin Power!
Buy Linux distributions at discount prices!
Linux| Perl| PHP| Webserv| Databases| Sysadmin| Programming| Filesystems| Java| Webprog
News from Slashdot
Therapy Over IP Draws the Young, Isolated

Ask Slashdot: How To Deal With Refurbed Drives With Customer Data?

Three Unexpected Data Points Describe Elementary School Quality

WSJ Says Pro-ACTA Forces Helped Drive Anti-ACTA Reactions

Google Close To Launching Cloud Storage 'Google Drive'

FAA Bill Authorizes Surveillance Drones Over US

The Lack of Scientific Philanthropy In Japan

TomTom Satnavs To Set Insurance Prices

EPIC Sues FTC Over Google's Planned Privacy Changes

What Scorpions Have To Teach Aircraft Designers


Related products:

Perl Best Practices Perl Best Practices

Higher-Order Perl: Transforming Programs with Programs Higher-Order Perl: Transforming Programs with Programs

Perl Testing : A Developer's Notebook Perl Testing : A Developer's Notebook

Wicked Cool Perl Scripts : Useful Perl Scripts That Solve Difficult Problems Wicked Cool Perl Scripts : Useful Perl Scripts That Solve Difficult Problems

Intermediate Perl Intermediate Perl

Perl Books

Pro Perl Parsing (Pro)

Perl Books
Format: Hardcover
Author: Christopher M. Frenz
ReleaseDate: 10 August, 2005
Publisher: Apress
Rating:

Experts guide to extracting the data you want!
Frenz has put together a real how to manual for those who use Perl for parsing. Christopher M.
Grabbing the data you want from a file can be tricky but Frenz has taken parsing from the top shelf
and placed it where any Perl programmer can use it.

The opening chapter is great for anyone who has had trouble understanding how to use the regular expressions
as built into Perl. He explains Pattern Matching, Quantifiers, and how not to be Greedy with your pattern matching.
However, the book goes far beyond the basics of regular expressions in Perl to various libraries which can be used
for parsing HTML, XML, RSS, and any text based file.

Chapter 2 of the book seems very heady as he discusses the use of Generative Grammars which is foundational
for anyone wanting to truly understand parsing. From Chomsky's grammar to Type 1, 2, and 3 grammars,
he details these structures and how to use them.

Perl modules GraphViz::Regex, Regexp::Common, Parse::Yapp, Parse::RecDescent, HTML::TreeBuilder,
XML::LibXML, XML::SAX, and XML::RSS are all discussed in this book and clear examples are given on how
you can use them to parse files to get the data you want.

In the end of the book is a section on Data Mining well worth the read dealing with Descriptive Modeling and
Predictive Modeling. For anyone doing data mining work from Web based data or from Relational Databases
this section can be very helpful.
.


Excellent introduction
I freely admit to not being a Perl guru. This is one of the easiest to take in and most informative books I've come across for a while. I generally don't know ten different ways to perform a specific action in Perl - let alone have ideas on which way is best. But I use Perl daily to make my life easier. A big part of that is parsing information - in HTML, XML, from the command line output of tools and applications and from files and logs. Pro Perl Parsing pulled together and made much clearer many of my own hastily learnt techniques and processes, taught me some new ones and explained some of the odd results I've gotten in the past. The only criticism of the book is that it wasn't long enough - I'd love to see a 2nd Edition with a greater focus on parsing command line, configuration files and other 'administrative' style activities - it's not just programmers who parse. :).


A bit disappointing
I would like to find something more than a description of what modules do, and that's mostly what it does. Well, not was I was looking for. 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.



Go to lyrics-now.com for music lyrics and song lyrics.
Bass and guitar tablatures: Fretplay.com, Guitar tabs, Bass tabs, Fresh tabs, How to read tabs
Plan your travel and holiday here: Travel Helper!