Synopses & Reviews
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that they write bear a strong resemblance to C programs. However, Perl incorporates many features that have their roots in other languages such as Lisp. These advanced features are not well understood and are rarely used by most Perl programmers, but they are very powerful. They can automate tasks in everyday programming that are difficult to solve in any other way. One of the most powerful of these techniques is writing functions that manufacture or modify other functions. For example, instead of writing ten similar functions, a programmer can write a general pattern or framework that can then create the functions as needed according to the pattern. For several years Mark Jason Dominus has worked to apply functional programming techniques to Perl. Now Mark brings these flexible programming methods that he has successfully taught in numerous tutorials and training sessions to a wider audience.
- Introduces powerful programming methods new to most Perl programmers that were previously the domain of computer scientists
- Gradually builds up confidence by describing techniques of progressive sophistication
- Shows how to improve everyday programs and includes numerous engaging code examples to illustrate the methods
Review
"It's well written...everyone who claims to be an expert ought to read it...these techniques allow programmers to accomplish far more than they're used to." Gregory V. Wilson, Dr. Dobb's Journal
Review
"It is, quite simply, one of the best books on programming I have read for a long time." Martin Schweitzer, Computing Reviews, Association for Computing Machinery
Review
"Mark Jason Dominus has hit his mark with Higher-Order Perl. It is a very informative book that is a must read for Perl programmers who want to take their skills to the next level." Mark Rutz, Linux Journal
Synopsis
troduces powerful programming methodsnew to most Perl programmersthat were previously the domain of computer scientists
* Gradually builds up confidence by describing techniques of progressive sophistication
* Shows how to improve everyday programs and includes numerous engaging code examples to illustrate the methods
Synopsis
s as needed according to the pattern. For several years Mark Jason Dominus has worked to apply functional programming techniques to Perl. Now Mark brings these flexible programming methods that he has successfully taught in numerous tutorials and training sessions to a wider audience.
Synopsis
The eagerly awaited book by one of the best-known Perl developers summarizing years of innovative practice
About the Author
Mark Jason Dominus has been programming in Perl professionally since 1992, when he was a UNIX sysadmin with the University of Pennsylvania Department of Computer and Information Sciences.
Table of Contents
1. Recursion and Callbacks; 2. Dispatch Tables; 3. Caching and Memoization; 4. Iterators; 5. From Recursion to Iterators; 6. Infinite Streams; 7. Higher-Order Functions and Currying; 8. Parsing; 9. Declarative Programming
Tech Q&A
Read the Tech Q&A with Mark Jason Dominus