or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
29 used & new from £12.97

Have one to sell? Sell yours here
 
   
Mastering Perl
 
 

Mastering Perl (Paperback)

by brian foy (Author)
4.5 out of 5 stars  See all reviews (2 customer reviews)
RRP: £30.99
Price: £19.14 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £11.85 (38%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.

Only 5 left in stock--order soon (more on the way).

Want guaranteed delivery by Saturday, November 14? Choose Express delivery at checkout. See Details
22 new from £13.40 7 used from £12.97

Frequently Bought Together

Mastering Perl + Intermediate Perl + Perl Best Practices
Price For All Three: £55.50

Show availability and delivery details

  • This item: Mastering Perl by brian foy

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • Intermediate Perl by Randal L. Schwartz

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • Perl Best Practices by Damian Conway

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions


Customers Who Bought This Item Also Bought

Intermediate Perl

Intermediate Perl

by Randal L. Schwartz
4.3 out of 5 stars (3)  £17.29
Perl Best Practices

Perl Best Practices

by Damian Conway
5.0 out of 5 stars (4)  £19.07
Learning Perl

Learning Perl

by Randal Schwartz
4.4 out of 5 stars (50)  £18.15
Programming Perl: There's More Than One Way To Do It

Programming Perl: There's More Than One Way To Do It

by Larry Wall
4.5 out of 5 stars (57)  £24.01
Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

by Damian Conway
5.0 out of 5 stars (2)  £13.50
Explore similar items

Product details

  • Paperback: 322 pages
  • Publisher: O'Reilly Media, Inc.; illustrated edition edition (16 Jul 2007)
  • Language English
  • ISBN-10: 0596527241
  • ISBN-13: 978-0596527242
  • Product Dimensions: 23.2 x 17.8 x 2.2 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon.co.uk Sales Rank: 125,986 in Books (See Bestsellers in Books)

    Popular in this category:

    #19 in  Books > Computing & Internet > Programming > Languages > Perl

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   Mastering Perl opens new browser window
www.activestate.com  -  Award-winning Perl IDE featuring advanced Perl editor and debugger. 
   Pearl Master opens new browser window
www.Ask.com  -  Find the Best Results for Pearl Master
   Pearl CDs opens new browser window
www.arkivmusic.com  -  Buy them at ArkivMusic.com. Every recording in print available. 
  
 

Product Description

Product Description

This is the third in O'Reilly's series of landmark Perl tutorials, which started with "Learning Perl", the bestselling introduction that taught you the basics of Perl syntax, and "Intermediate Perl", which taught you how to create re-usable Perl software. "Mastering Perl" pulls everything together to show you how to bend Perl to your will. Assuming you're familiar with concepts from the first two books - such as basic syntax, nested data structures, and the use of modules - "Mastering Perl" provides the next logical stage of Perl expertise by conveying its models and programming idioms. This book isn't a collection of clever tricks, but a way of thinking about Perl programming so you can integrate the real-life problems of debugging, maintenance, configuration, and other tasks you encounter as a working programmer. The book explains how to: use advanced regular expressions, including global matches, lookarounds, readable regexes, and regex debugging; avoid common programing problems with secure programming techniques; debug Perl with the Perl debugger, write your own debugger, and use debuggers others wrote; profile Perl to find out where you should concentrate your efforts before setting out to improve your program; benchmark Perl to figure out which implementations do better on time, memory, and other metrics - and cautions about what your numbers actually mean; wrangle Perl code to make it more presentable and readable by using M or M; symbol tables and typeglobs - How Perl keeps track of package variables and how you can use that mechanism for some powerful Perl tricks; define subroutines on the fly and turn the tables on normal procedural programming; and iterate through subroutine lists rather than data to make your code more effective and easy to maintain. It also includes topics such as: modify and jury rig modules to fix code without editing the original source; let your users configure your programs without touching the code; detect and reporting errors by learning how Perl reports errors, how you can detect errors Perl doesn't report, and how to tell your users about them; let your Perl program talk back to you by using Log4perl; store data for later use in another program, a later run of the same program, or to send as text over a network; work with Pod to translate plain ol' documentation into any format that you like, and test it, too; use bit operations and bit vectors to efficiently store large data; implement your own versions of Perl's basic data types to perform fancy operations without getting in the user's way; and write programs as modules to get all of the benefit of Perl's module distribution, installation, and testing tools. The appendices include "Brian's Guide to Solving Any Perl Problem" to improve your troubleshooting skills, as well as suggested reading to continue your Perl education. "Mastering Perl" starts you on your path to becoming the person with the answers, and, failing that, the person who knows how to find the answers or discover the problem.


About the Author

brian d foy, an instructor for Stonehenge Consulting Services since 1998 and a Perl user since he was a physics graduate student, is well known among the Perl community. He founded the first Perl user group, the New York Perl Mongers, as well as the Perl advocacy nonprofit Perl Mongers, Inc. He maintains the perlfaq portions of the core Perl documentation, several modules on CPAN, and some stand-alone scripts. He's the publisher of The Perl Review, a magazine devoted to Perl, and a frequent speaker at conferences. brian also contributed the current editions of top-sellers "Learning Perl" and "Intermediate Perl".

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
programming
perl
coding - perl
software design
perl programming
brian d foy

Your tags: Add your first tag
 

What Do Customers Ultimately Buy After Viewing This Item?

Mastering Perl
35% buy the item featured on this page:
Mastering Perl 4.5 out of 5 stars (2)
£19.14
Intermediate Perl
20% buy
Intermediate Perl 4.3 out of 5 stars (3)
£17.29
Learning Perl
19% buy
Learning Perl 4.4 out of 5 stars (50)
£18.15
Programming Perl: There's More Than One Way To Do It
15% buy
Programming Perl: There's More Than One Way To Do It 4.5 out of 5 stars (57)
£24.01

 

Customer Reviews

2 Reviews
5 star:
 (1)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (2 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
1 of 1 people found the following review helpful:
5.0 out of 5 stars Essential follow-up reading to The Llama and The Alpaca, 27 Aug 2007
If you've made it through Learning Perl and Intermediate Perl, you've probably been waiting with no small impatience for a book like this to round off the trilogy and your basic Perl education. If you're interested in Perl as a complete programming language, or want to be able to read and understand the rest of the Perl literature, then you need this.

Note that the thrust of the book is about providing the information you need to use Perl to build applications, so there's nothing about Perl internals, or embedding Perl or dropping down to C to speed things up. For that sort of thing, you might want to look at the various editions of Advanced Perl Programming.

Stylistically, Mastering Perl is a bit of a departure from the previous two books in the series. Gone is the tutorial feel, and there's no overarching pop culture theme to the examples. Instead, you're assumed to be competent and ready to develop your own code, and brian d foy's style treats the reader as an equal.

There are two types of material covered in the book. The first rounds off the rest of the Perl language not covered in the first two books. These are all things which are not exactly necessary for every day programming, but which anyone motivated sufficiently to learn enough Perl to be interested in this book will just want to know. Typeglobs, the symbol table and tied variables top this list. Additionally, there are excellent chapters on error handling and advanced regular expressions, the latter of which introduces the options and anchors used in lexing, and look-ahead and look-behind assertions.

The other material covers useful libraries for developing in Perl. Examples include chapters devoted to documentation with POD, serialization, logging, debugging, profiling, and benchmarking. These are all comprehensive and use fairly long examples with non-trivial code.

You could cobble together a minority of the material presented in this book from other sources (e.g. some of the stuff on ties or the symbol table), such as Effective Perl Programming, Perl Medic, Perl Debugged or Object Oriented Perl (and there's a helpful Appendix which recommends several such books as further reading), but having it presented here in one cohesive whole is a far superior learning experience, thanks to the author's clear explanations and copious examples. Additionally, there's stuff here that you just won't find in those other books (e.g. do you know what the PROPAGATE method does on an object?). I'd like to think I've read most of the important Perl books, but I still learnt a lot, and it filled in a lot of holes. It's bang up to date, too, which many of the other books you'd otherwise be relying on can't claim to be.

Overall, this fills a gaping void in the Perl literature and provides a suitable bridge between Intermediate Perl and the likes of Perl Cookbook and Perl Best Practices. It's an excellent, focussed book which provides almost everything you need to do real Perl programming.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4.0 out of 5 stars A great addition to every Perl bookshelf, 3 Dec 2007
By Michele Beltrame (Maniago, PN, Italy) - See all my reviews
(REAL NAME)   
In recent years, O'Reilly pace regarding the publishing of Perl-related books has slowed down quite a lot. This is likely not because of O'Reilly fault, but it's probably due to the fact that Perl is a mature language for which there is a lot of literature which is still up-to-date. For instance, the 3rd edition of Programming Perl was published in 2001 and is still a reliable reference for the current version of the language - even though that is going to change a bit within a few days, with the release of perl 5.10.

Anyway, it seems there's still to write about Perl as a language as opposed to projects or software powered by Perl, and that it what the book is about: the language and how to use it at best. It's a collection of tips, best practices and suggestions, and can fit into the same category as two other O'Reilly titles: Perl Hacks and Perl Best Practices.

Part of this book is devoted to the usual (and important) areas: writing secure and high-performance programs, debugging, error handling, logging and documentation writing. For all of this, several options are usually described by the author, and they range from rolling your own solution using the core perl compiler to using CPAN modules to automate part of, if not all, the work. For example, the section regarding the profiling of Perl programs explains first what profiling is about and illustrates a general approach at the task, and then how to profile database code with DBI::Profile; it then goes to the full-featured solution involving Devel::DProf and closes with suggestions on how to write your own profiler module.

This book can help you organize your applications better. For instance, do you embed your configuration variables at the top of your programs or in an external Perl module? Think of a different approach by reading chapter 11, and start using configuration files (which can overridden with command-line options) as the whole Unix world does - there are plenty of formats to choose from. Using Windows? Use the Windows Registry. Using MaxOS X? Use the plist format. You can do all of this with ready to use modules, and this book explains you how to get started with this.

The most interesting parts of the book lie in it's "niche" chapters, which explains aspects of Perl which are not needed by most programmers, but of which every programmer would surely benefit. Have you always thought that working with bits was something for mad assembly or C++ coders? Wrong! Chapter 16 will introduce you to binary numbers, bit operators and vectors. You might also want to take a look at chapter 6 which teaches you how to make your code clear and how to de-obfuscate other people's code (all right, obfuscation is a virtue, but there should be limits ;-)).

All in all this book can be very useful to improve the way you use Perl (the language) and perl (the compiler), and is a worth reading, which then becomes a nice reference.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback

Ad

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.