[Cover of Data Munging with Perl]

Data Munging with Perl (1st edition)

David Cross

Release date15 Jan 2001
PublisherManning Publications
ISBN1-930110-00-6
Categories Data Handling
Advanced
Your desktop dictionary may not include it, but 'munging' is a common term in the programmers 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

Reviews

Rory Macdonald, edinburgh.pm
  «While /Data Munging with Perl/ is not presented as a traditional reference text, it tackles data munging problems cleanly enough to serve as one for the issues touched opon. The rear cover blurb suggests that "this book will save you time", and on the grounds of it's sensible suggestions for the design of data and code, I can't argue too much with that. For newcomers to perl I would suggest /Data Munging with Perl/ as perhaps a 3rd or 4th perl text, and unless you are already confident of your munging capabilities then this text deserves a place on your bookshelf. »
Alex McLintock, DiverseBooks
Bob Gattis, Pikes Peak Perl Mongers
  «This book is probably not for advanced Perl programmers. It would serve as a good reference for an intermediate programmer with some data conversion experience.»
chromatic, Slashdot
  «Manning Publications continues its fine line of Perl books with the consistent and powerful /Data Munging with Perl/. Coders looking to transform data somehow and hackers who want to take advantage of Perl's unique features will improve their knowledge and understanding. If you find yourself working with files or records in Perl, this book will save you time and trouble. »
Brock Sides, GOLUM
  «Overall, David Cross has written an excellent treatise on the topic of data manipulation with Perl. He covers ground that I've never seen covered in any of the Perl books I've read, and stears clear of what's been well-covered in other works, providing us instead with helpful references. However, it's certainly not a book for the newcomer. »
ybiC, PerlMonks
  «DMwP is a readable, practical and informative guide to manipulating data using Perl 5»
Gabor Szabo, Israeli Perl Mongers
  «I am not sure why but I was looking forward to it with very high expectations - it was either because of the author or because of the nice and serious picture on the cover - and it delivered: I learned a lot of new things and in areas where I already had some knowledge the book made order in the things I knew.»

Overall rating is 4.1 from 9 votes. If you were logged in you would be able to rate this book.

Comments to Dave Rolsky at autarch@urth.org
Site Information and Contacts
Perl.org sites : books | www | dev | history | jobs | learn | lists | use   
When you need perl, think perl.org  
the camel