Data Munging with Perl
暫譯: 使用 Perl 進行數據清理

David Cross

  • 出版商: Manning
  • 出版日期: 2001-01-01
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1930110006
  • ISBN-13: 9781930110007
  • 相關分類: Perl 程式語言
  • 已絕版

買這商品的人也買了...

商品描述

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.

 

商品描述(中文翻譯)

您的桌面字典可能不包括這個詞,但「munging」在程式設計師的世界中是一個常見的術語。許多計算任務需要從一個計算機系統中提取數據,以某種方式進行處理,然後將其傳遞到另一個系統。Munging 可以意味著對原始數據進行操作以達到最終形式。它可以意味著解析或過濾數據,或是數據識別所需的多個步驟。或者,它也可以是將工作小時和薪資率轉換為薪水支票這樣簡單的事情。

本書將教您如何使用 Perl 有效地處理數據。它討論了通用的 munging 技術以及如何思考數據 munging 問題。您將學習如何解耦 munging 程式的各個階段,如何設計數據結構,如何模擬 Unix 過濾器模型等。如果您需要處理複雜的數據格式,本書將教您如何做到這一點,並且還會教您如何構建自己的工具來處理這些格式。本書包括處理 HTML 和 XML 的詳細技術。此外,它還會教您如何構建自己的解析器來處理任意複雜度的數據。

如果您是一位處理數據的程式設計師,本書將為您節省時間。它將教您使用 Perl 的系統性和強大技術。如果您不是 Perl 程式設計師,本書可能會說服您將 Perl 加入您的工具箱。

內含內容:
- 使用 CPAN 模組,如 Number::Format、Date::Manip、Text::CSV_XS
- 使用 Perl 的特殊變數(如 $/、$” 和 $_)使您的代碼簡潔
- 使用 Parse::RecDescent 構建數據解析器
- 處理 HTML 和 XML

《Data Munging with Perl》的翻譯權已授予日本、巴西和德國。如果您有興趣了解在哪裡可以購買這本書的其他語言版本,請向當地書商詢問。