Book description
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 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
Table of contents
- Cover
- Title Page
- Copyright
- Dedication
- Preface
- Table of Contents
- Chapter 1: Recursion and Callbacks
- Chapter 2: Dispatch Tables
- Chapter 3: Caching and Memoization
- Chapter 4: Iterators
- Chapter 5: From Recursion to Iterators
- Chapter 6: Infinite Streams
- Chapter 7: Higher-Order Functions and Currying
- Chapter 8: Parsing
- Chapter 9: Declarative Programming
- Index
- Function Index
- Instructions for online access
Product information
- Title: Higher-Order Perl
- Author(s):
- Release date: March 2005
- Publisher(s): Morgan Kaufmann
- ISBN: 9780080478340
You might also like
book
Perl One-Liners
Perl One-Liners showcases 130 short and compelling lines of code that do all sorts of handy, …
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
book
The Linux Programming Interface
The Linux Programming Interface is the definitive guide to the Linux and UNIX programming interface—the interface …
book
Python for Programmers, First Edition
The professional programmer's Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …