Mastering Algorithms with Perl (Paperback)

Jarkko Hietaniemi, John Macdonald, Jon Orwant

  • 出版商: O'Reilly
  • 出版日期: 1999-09-21
  • 定價: $1,400
  • 售價: 9.5$1,330
  • 貴賓價: 9.0$1,260
  • 語言: 英文
  • 頁數: 706
  • 裝訂: Paperback
  • ISBN: 1565923987
  • ISBN-13: 9781565923980
  • 相關分類: Perl 程式語言Algorithms-data-structures
  • 立即出貨 (庫存 < 4)



Many programmers would love to use Perl for projects that involve heavy lifting, but miss the many traditional algorithms that textbooks teach for other languages. Computer scientists have identified many techniques that a wide range of programs need, such as:

  • Fuzzy pattern matching for text (identify misspellings!)
  • Finding correlations in data
  • Game-playing algorithms
  • Predicting phenomena such as Web traffic
  • Polynomial and spline fitting
Using algorithms explained in this book, you too can carry out traditional programming tasks in a high-powered, efficient, easy-to-maintain manner with Perl.This book assumes a basic understanding of Perl syntax and functions, but not necessarily any background in computer science. The authors explain in a readable fashion the reasons for using various classic programming techniques, the kind of applications that use them, and -- most important -- how to code these algorithms in Perl.If you are an amateur programmer, this book will fill you in on the essential algorithms you need to solve problems like an expert. If you have already learned algorithms in other languages, you will be surprised at how much different (and often easier) it is to implement them in Perl. And yes, the book even has the obligatory fractal display program.There have been dozens of books on programming algorithms, some of them excellent, but never before has there been one that uses Perl.The authors include the editor of The Perl Journal and master librarian of CPAN; all are contributors to CPAN and have archived much of the code in this book there."This book was so exciting I lost sleep reading it." Tom Christiansen



- 文本的模糊模式匹配(識別拼寫錯誤!)
- 在數據中尋找相關性
- 遊戲算法
- 預測現象,例如網絡流量
- 多項式和樣條擬合



關於程式演算法已經有數十本書籍,其中一些非常出色,但以前從未有過一本使用Perl的書籍。作者包括《The Perl Journal》的編輯和CPAN的主要圖書館員;他們都是CPAN的貢獻者,並在其中存檔了本書中的大部分程式碼。

"這本書太令人興奮了,我讀它時失眠了。" - Tom Christiansen