|
Data Munging with Perl David Cross 2001 | 304 pages ISBN: 1930110006 |
|||
![]() |
$18.50 | PDF ebook | |
![]() |
$36.95 | Softbound print book | |
Table of Contents
Part 1: Background
Chapter 1: Introduction
Chapter 2: Data
Chapter 3: Dealing With Data
Part II: Data Munging
Chapter 4: Regular Expressions
Chapter 5: Unstructured Data
Chapter 6: Record Oriented Data
Chapter 7: Fixed Width and Binary Data
Part III: Basic Data Parsing
Chapter 8: Introduction to Data Parsing
Chapter 9: HTML and XML
Chapter 10: Building Your Own Parsers
Chapter 11: Conclusion
Bibliography
Resources
Index
DESCRIPTION
Your desktop dictionary may not include it, but 'munging' is a common term in the programmer’s world. Many computing tasks require taking data from one computer system, manipulating it in some way, and passing it to another. Munging can mean manipulating raw data to achieve a final form. It can mean parsing or filtering data, or the many steps required for data recognition. Or it can be something as simple as converting hours worked plus pay rates into a salary cheque.
This book shows you how to process data productively with Perl. It discusses general munging techniques and how to think about data munging problems. You will learn how to decouple the various stages of munging programs, how to design data structures, how to emulate the Unix filter model, etc. If you need to work with complex data formats it will teach you how to do that and also how to build your own tools to process these formats. The book includes detailed techniques for processing HTML and XML. And, it shows you how to build your own parsers to process data of arbitrary complexity.
If you are a programmer who munges data, this book will save you time. It will teach you systematic and powerful techniques using Perl. If you are not a Perl programmer, this book may just convince you to add Perl to your repertoire.
What’s inside:
- Using CPAN modules like Number::Format, Date::Manip, Text::CSV_XS
- Making your code concise using Perl’s special variables (like $/, $” and $_)
- Building data parsers using Parse::RecDescent
- Processing of HTML and XML
Translation rights for Data Munging with Perl have been granted for Japan, Brazil, and Germany. If you are interested in learning where to buy this book in a language other than English, please inquire at your local bookseller.
WHAT THE EXPERTS SAY ABOUT THIS BOOK...
"I found the sample problems and the author's solutions to be very well done. I especially liked the design tips..."
--Pikes Peak Perl Mongers
"well worth the price, and a good starting point for more advanced forays."
--Use.Perl.com
"...a very good resource for programmers who want to learn more about data parsing, data filters, and data conversion..."
--ACM Computing Reviews
ABOUT THE AUTHOR...
Dave Cross is the owner and Managing Director of Magnum Solutions Ltd., an internet and database consultancy based in London. He has 12 years' experience working in the IT industry. He is an active member of the Perl community, the founder of the London Perl Mongers, and is also a regular columist for Perlmonth, the online Perl magazine.

