Computer Science & Perl Programming: Best of The Perl Journal

Front Cover
Jon Orwant
"O'Reilly Media, Inc.", Nov 4, 2002 - Computers - 737 pages
In its first five years of existence, The Perl Journal ran 247 articles by over 120 authors. Every serious Perl programmer subscribed to it, and every notable Perl guru jumped at the opportunity to write for it. TPJ explained critical topics such as regular expressions, databases, and object-oriented programming, and demonstrated Perl's utility for fields as diverse as astronomy, biology, economics, AI, and games. The magazine gave birth to both the Obfuscated Perl Contest and the Perl Poetry contest, and remains a proud and timeless achievement of Perl during one of its most exciting periods of development. Computer Science and Perl Programming is the first volume of The Best of the Perl Journal, compiled and re-edited by the original editor and publisher of The Perl Journal, Jon Orwant. In this series, we've taken the very best (and still relevant) articles published in TPJ over its 5 years of publication and immortalized them into three volumes. This volume has 70 articles devoted to hard-core computer science, advanced programming techniques, and the underlying mechanics of Perl. Here's a sample of what you'll find inside:
  • Jeffrey Friedl on Understanding Regexes
  • Mark Jason Dominus on optimizing your Perl programs with Memoization
  • Damian Conway on Parsing
  • Tim Meadowcroft on integrating Perl with Microsoft Office
  • Larry Wall on the culture of Perl
Written by 41 of the most prominent and prolific members of the closely-knit Perl community, this anthology does what no other book can, giving unique insight into the real-life applications and powerful techniques made possible by Perl. Other books tell you how to use Perl, but this book goes far beyond that: it shows you not only how to use Perl, but what you could use Perl *for*. This is more than just The Best of the Perl Journal -- in many ways, this is the best of Perl.
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Selected pages

Contents

Introduction
1
Beginner Concepts
7
All About Arrays
9
Perfect Programming
18
Precedence
24
The Birth of a OneLiner
36
Comparators Sorting and Hashes
41
What Is Truth?
48
Software Development
387
Using Other Languages from Perl
389
SWIG
404
Benchmarking
418
Building Software with Cons
424
MakeMaker
435
Autoloading Perl Code
443
Debugging and Devel
448

Using ObjectOriented Modules
54
Unreal Numbers
65
CryptoContext
71
References
76
Perl Heresies
83
Regular Expressions
87
Understanding Regular Expressions Part I
89
Understanding Regular Expressions Part II
104
Understanding Regular Expressions Part III
111
Nibbling Strings
115
How Regexes Work
122
Computer Science
137
Infinite Lists
139
Compression
152
Memoization
161
Parsing
176
Trees and Game Trees
200
BTrees
221
Making Life and Death Decisions with Perl
238
Information Retrieval
245
Randomness
254
Random Number Generators and XS
260
Programming Techniques
271
Suffering from Buffering
273
Scoping
281
Seven Useful Uses of local
291
Parsing CommandLine Options
304
Building a Better Hash with tie
311
Source Filters
327
Overloading
339
Building Objects Out of Arrays
348
Hiding Objects with Closures
355
Multiple Dispatch in Perl
366
Networking
453
Email with Attachments
455
Sending Mail Without sendmail
464
Filtering Mail
472
NetTelnet
480
Microsoft Office
485
ClientServer Applications
492
Managing Streaming Audio
507
A 74Line IP Telephone
518
Controlling Modems
531
Using Usenet from Perl
541
Transferring Files with FTP
547
Spidering an FTP Site
557
DNS Updates with Perl
570
Databases
577
DBI
579
Using DBI with Microsoft Access
587
DBI Caveats
595
Beyond Hardcoded Database Applications with DBIxRecordset
601
Win32ODBC
608
NetLDAP
622
Web Databases the Genome Project Way
637
SpreadsheetWriteExcel
656
Internals
669
How to Improve Perl
671
Components of the Perl Distribution
676
Basic Perl Anatomy
679
Lexical Analysis
685
Debugging Perl Programs with D
692
Microperl
705
Index
711
About the Authors
731
Copyright

Other editions - View all

Common terms and phrases

About the author (2002)

Jon Orwant founded The Perl Journal and received the White Camel lifetime achievement award for contributions to Perl in 2004. He's Engineering Manager at Google, where he leads Patent Search, visualizations, and digital humanities teams. For most of his tenure at Google, Jon worked on Book Search, and he developed the widely used Google Books Ngram Viewer. Prior to Google, he was CTO of O'Reilly, Director of Research at France Telecom, and a Lecturer at MIT. Orwant received his doctorate from MIT's Electronic Publishing Group in 1999.

Bibliographic information