Higher-Order Perl
Subtitle: Transforming Programs with Programs
Publisher: Morgan Kaufmann
Published: March 14, 2005
Language: eng
Format: Paperback
Number of pages: 600
ISBN-13: 9781558607019
Subjects: Computer Programming; Perl (Computer program language); Object-oriented programming (C; Computers; Computers - Languages / Programming; Programming Languages - Perl; Computer Books: Languages; Programming Languages - General; Programming - General; Internet - General; Programming - Software Development; Computers / Programming Languages / General; Object-oriented programming (Computer science); Perl (Computer program languag
First sentence: Until the release of Perl 5.6.0, there was no good way to generate a binary numeral in Perl.
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.
Table of contents: title: Recursion and Callbacks; title: Dispatch Tables; title: Caching and Memoization; title: Iterators; title: From Recursion to Iterators; title: Infinite Streams; title: Higher-Order Functions and Currying; title: Parsing; title: Declarative Programming