Higher-Order Perl: Transforming Programs with Programs [NOOK Book]

Overview

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...
See more details below
Higher-Order Perl: Transforming Programs with Programs

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$81.95
BN.com price

Overview

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
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Perl's been around forever. But most Perl coders still haven't mastered many of its sophisticated capabilities: They write as if they were still working in C. In Higher-Order Perl, Mark Jason Dominus illuminates Perl techniques that resemble Lisp far more than C. By learning Dominus’s techniques, you can accomplish things in Perl that can’t be done any other way and automate tasks you'd struggle to handle conventionally.

Dominus shows how to use recursion to make functions more flexible, and how to use caching to overcome many of the performance problems that often afflict recursive functions. You’ll learn how to use iterators; and when (and how) to replace recursion with iterators. You’ll discover better ways to handle parsing; master advanced declarative programming techniques; and more. You were impressed with Perl before, but you didn’t know the half of it. Bill Camarda, from the July 2005 Read Only

Gregory V. Wilson
"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."
Dr. Dobb’s Journal, November 2005
Martin Schweitzer
"It is, quite simply, one of the best books on programming I have read for a long time."
Computing Reviews, Association for Computing Machinery, July 2005
gaal.livejournal.com
"I love it in any book, but tech books of course are typically expected to do something like append to your knowledge, so when one takes it in unexpected directions that’s terrific. Okay, I actually expected no less from this book - MJD is a joyfully intelligent writer."
August 2005
From the Publisher
“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, November 2005 “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, July 2005

“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, November 2005 “The chapter on parsing alone is worth the price of this book. I do not know a better text about parsing in Perl.” —Reinhard Voglmaier, Unix Review, November 2005

“Mark Jason Dominus explores recursion so thoroughly he literally turns it inside-out, showing in simple terms how to turn recursive functions into iterators.” —Peter Scott, President, PSDT, November 2005

“Higher-Order Perl is one of the Perl books that should have a place on the bookshelf of every Perl programmer. It offers an in-depth understanding of important programming techniques and fundamental concepts.” Reinhard Voglmaier, UnixReview.com, November 2005

“Higher-Order Perl is a terrific book targeted at the advanced Perl programmer with a significant computer science background. The tone, content, and code make Higher-Order Perl memorable; the knowledge, wisdom, and intuition it provides make it a book any Perl programmer should aim to understand and digest in full.”.” —Teodor Zlatanov, Programmer, Gold Software Systems

Read More Show Less

Product Details

  • ISBN-13: 9780080478340
  • Publisher: Elsevier Science
  • Publication date: 3/31/2005
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 600
  • File size: 36 MB
  • Note: This product may take a few minutes to download.

Meet 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. Mark is an occasional contributor to the Perl Core, and is the author of the standard

perlreftut man page as well as the

Tie::File,

Text::Template, and

Memoize modules. From 1999-2001, Mark was the managing editor of the www.perl.com website. He was also a columnist for The Perl Journal for several years. All of his articles for TPJ have been reprinted in Computer Science and Perl Programming: Best of the Perl Journal, from O’Reilly and Associates. Mark’s other Perl-related articles have appeared in magazines such as Wiredand IEEE Software. Since 1998, Mark has been a professional Perl trainer. In addition to speaking at conferences such as YAPC, the O’Reilly Open Source Conferences, Usenix, and LISA, he has given training courses for large companies and organizations, including Morgan Stanley, IBM, Bristol-Myers Squibb, and the U.S. Air Force. Mark’s work on

Rx, a Perl regular expression debugger, won the 2001 Larry Wall Award for Practical Utility.

Read More Show Less

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
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted July 27, 2006

    A new standard has been set.

    The holy trinity of Perl books is now complete. Programming Perl, Perl Best Practices, and now Higher-Order Perl. With these, I am ready to go forth and preach perly wisdom to IT departments everywhere. This book is not merely a book of perl recipes, but rather is an excellent text in applied computer science, but from a Perl perspective, not from an ivory tower of relatively obscure theoretical languages. Reading this book feels like hanging out with a favorite professor. This book can be embraced by the dedicated Perl hobbyist as well as the seasoned programmer. I think there is something in the book for programmers of all levels of ability. I believe this book has set a new standard for programming texts.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 18, 2005

    Based on preview, this book will EXCELLENT!

    I read through the preview chapters of this book as they were released by MJ Dominus. This book is a MUST for perl programmers interested in taking their coding to the next level. Better yet, unless he's made some changes prior to publication, this book doesn't waste time with 'intro' chapters and the like. It's perl programming meatiness from page 1 all the way to the end.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)