Join Amazon Prime and get unlimited Free One-Day Delivery. Already a member? Sign in.

 

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

Have one to sell? Sell yours here
 
   
Perl Best Practices
 
 

Perl Best Practices (Paperback)

by Damian Conway (Author)
5.0 out of 5 stars See all reviews (4 customer reviews)
RRP: £30.99
Price: £20.14 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £10.85 (35%)
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 2 left in stock--order soon (more on the way).

Want guaranteed delivery by Wednesday, July 15? Choose Express delivery at checkout. See Details
28 new from £17.25 11 used from £16.03

Frequently Bought Together

Customers buy this book with Programming Perl by Larry Wall

Perl Best Practices + Programming Perl
Price For Both: £45.17

Show availability and shipping details

  • This item: 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

  • Programming Perl by Larry Wall

    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

Programming Perl

Programming Perl

by Larry Wall
4.3 out of 5 stars (24)  £25.03
Mastering Perl

Mastering Perl

by brian foy
4.5 out of 5 stars (2)  £20.14
Intermediate Perl

Intermediate Perl

by Randal L. Schwartz
4.3 out of 5 stars (3)  £23.49
Perl Testing: A Developer's Notebook (Developers Notebook)

Perl Testing: A Developer's Notebook (Developers Notebook)

by Ian Langworth
4.0 out of 5 stars (1)  £13.62
Perl Cookbook

Perl Cookbook

by Tom Christiansen
4.5 out of 5 stars (11)  £23.08
Explore similar items

Product details

  • Paperback: 542 pages
  • Publisher: O'Reilly Media, Inc. (12 Jul 2005)
  • Language English
  • ISBN-10: 0596001738
  • ISBN-13: 978-0596001735
  • Product Dimensions: 23.4 x 17.5 x 3.3 cm
  • Average Customer Review: 5.0 out of 5 stars See all reviews (4 customer reviews)
  • Amazon.co.uk Sales Rank: 73,925 in Books (See Bestsellers in Books)

    Popular in these categories:

    #1 in  Books > Computing & Internet > Computer Science > Artificial Intelligence > Natural Language
    #7 in  Books > Computing & Internet > Programming > Languages > Perl
    #44 in  Books > Computing & Internet > UNIX & Linux

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
Best Perl Practice
   www.activestate.com    Award-winning Perl IDE featuring advanced Perl editor and debugger. 
Perl Best Practices
   www.GetTextbooks.co.uk    Search low prices at 101+ bookshops Compare Prices & Save up to 60% ! 
Perl Builder Visual Tool
   www.solutionsoft.com/perlg.htm    The leading editor/debugger for Perl. CGI w/o coding . Free Trial. 
  
 

Product Description

Review
"If you are looking for a book to teach you how to program Perl, this is definitely not what you need. Also, if you are cranking out quick Perl scripts to solve one-time tasks, it might not be worth the effort to read this book. However, if you are fairly comfortable with the language and are looking for ways to improve your code, this book would be a wonderful addition to your bookshelf." - James Mohr, Linux Magazine, November 2005

Product Description
Many programmers code by instinct, relying on convenient habits or a "style" they picked up early on. They aren't conscious of all the choices they make, like how they format their source, the names they use for variables, or the kinds of loops they use. They're focused entirely on problems they're solving, solutions they're creating, and algorithms they're implementing. So they write code in the way that seems natural, that happens intuitively, and that feels good.

But if you're serious about your profession, intuition isn't enough. Perl Best Practices author Damian Conway explains that rules, conventions, standards, and practices not only help programmers communicate and coordinate with one another, they also provide a reliable framework for thinking about problems, and a common language for expressing solutions. This is especially critical in Perl, because the language is designed to offer many ways to accomplish the same task, and consequently it supports many incompatible dialects.

With a good dose of Aussie humor, Dr. Conway (familiar to many in the Perl community) offers 256 guidelines on the art of coding to help you write better Perl code--in fact, the best Perl code you possibly can. The guidelines cover code layout, naming conventions, choice of data and control structures, program decomposition, interface design and implementation, modularity, object orientation, error handling, testing, and debugging.

They're designed to work together to produce code that is clear, robust, efficient, maintainable, and concise, but Dr. Conway doesn't pretend that this is the one true universal and unequivocal set of best practices. Instead, Perl Best Practices offers coherent and widely applicable suggestions based on real-world experience of how code is actually written, rather than on someone's ivory-tower theories on how software ought to be created.

Most of all, Perl Best Practices offers guidelines that actually work, and that many developers around the world are already using. Much like Perl itself, these guidelines are about helping you to get your job done, without getting in the way.

Praise for Perl Best Practices from Perl community members:

"As a manager of a large Perl project, I'd ensure that every member of my team has a copy of Perl Best Practices on their desk, and use it as the basis for an in-house style guide." -- Randal Schwartz

"There are no more excuses for writing bad Perl programs. All levels of Perl programmer will be more productive after reading this book." -- Peter Scott

"Perl Best Practices will be the next big important book in the evolution of Perl. The ideas and practices Damian lays down will help bring Perl out from under the embarrassing heading of "scripting languages". Many of us have known Perl is a real programming language, worthy of all the tasks normally delegated to Java and C++. With Perl Best Practices, Damian shows specifically how and why, so everyone else can see, too." -- Andy Lester

"Damian's done what many thought impossible: show how to build large, maintainable Perl applications, while still letting Perl be the powerful, expressive language that programmers have loved for years." -- Bill Odom

"Finally, a means to bring lasting order to the process and product of real Perl development teams." -- Andrew Sundstrom

"Perl Best Practices provides a valuable education in how to write robust, maintainable Perl, and is a definitive citation source when coaching other programmers." -- Bennett Todd "I've been teaching Perl for years, and find the same question keeps being asked: Where can I find a reference for writing reusable, maintainable Perl code? Finally I have a decent answer." -- Paul Fenwick "At last a well researched, well thought-out, comprehensive guide to Perl style. Instead of each of us developing our own, we can learn good practices from one of Perl's most prolific and experienced authors. I recommend this book to anyone who prefers getting on with the job rather than going back and fixing errors caused by syntax and poor style issues." -- Jacinta Richardson "If you care about programming in any language read this book. Even if you don't intend to follow all of the practices, thinking through your style will improve it." -- Steven Lembark "The Perl community's best author is back with another outstanding book. There has never been a comprehensive reference on high quality Perl coding and style until Perl Best Practices. This book fills a large gap in every Perl bookshelf." -- Uri Guttman

See all Product Description

Inside This Book (Learn More)
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
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)
Check a corresponding box or enter your own tags in the field below
perl
best practices
programming
oo
computer language
book - computer - perl
hacks
webdev
reference
quantum physics
perlmonk

Your tags: Add your first tag
 

What Do Customers Ultimately Buy After Viewing This Item?

Perl Best Practices
70% buy the item featured on this page:
Perl Best Practices 5.0 out of 5 stars (4)
£20.14
Learning Perl
8% buy
Learning Perl 4.4 out of 5 stars (48)
£20.14
Programming Perl
8% buy
Programming Perl 4.3 out of 5 stars (24)
£25.03
Intermediate Perl
7% buy
Intermediate Perl 4.3 out of 5 stars (3)
£23.49

 

Customer Reviews

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

 
3 of 3 people found the following review helpful:
5.0 out of 5 stars Best Perl book ever, 15 Jul 2007
Not only the best Perl book I've ever read, it's also one of the best programming language books, period.

If you've ever programmed C++ or Java, you'll know how revered the likes of Effective C++ and Effective Java are, a series of tips, suggestions, idioms, advice and commandments. This is the equivalent for Perl, except it's even more thorough and covers even more ground, from brace layout and statement formatting, to regexes, unit testing, documentation and command line parsing.

There's also an exceptionally good chapter on object orientation, wherein author Damian Conway guides the reader through the use of his own Class::Std module. If you're using objects in Perl, and you're still rolling your own, you're really making life unnecessarily difficult for yourself. Class::Std provides object features reminiscent of CLOS, and makes Perl competitive with the likes of Python and Ruby when it comes to objects. Class::Std has changed the way I code Perl forever, and I know I'm not the only one. Seriously, this chapter is worth the price of admission on it own.

It's hard to overstate just how much excellent stuff there is in here, there's even useful emacs and vi settings provided! And I've not even mentioned how well written it is. Damian Conway really does prove himself the master of witty examples.

Perl Best Practices is just brilliant. Absolutely essential reading - don't code Perl without it.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4 of 12 people found the following review helpful:
5.0 out of 5 stars Wow, 13 Dec 2005
By A Customer
I have been programming computers for the last 22 years. I loved Perl from the moment I set eyes on it. After I receiving my copy of Damian Conway's new book I love Perl even more.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5.0 out of 5 stars Detoxing Perl - A must for anyone who writes longer Perl scripts, 19 May 2008
By T. Kaneko (Cambridge, UK) - See all my reviews
(REAL NAME)   
The Perl motto "there's more than one way to do it" comes to bite you as you start to write longer and longer codes. Other people's Perl "codes" are often totally intractable and my scripts were probably even worse... Where does it all go wrong? Most of us who "code" in Perl started off writing short scripts to do simple tasks and it just grew - still looking like scripts but longer, meaner and weirder.

The Best Practices starts off with formatting. Seemingly trivial but it really makes a big difference to the legibility of your code. I've taken away the formatting guide to when coding in Matlab too. Small things like spacing makes a big difference:

$average = ($one + $two + three) / 3;

is better than

$average=( $one+$two+$three )/3;

Perl Best Practices consists of a series of do's and don'ts. For example, don't use postfix looping controls like "do {...} while ($ii < 10)". Use "for my $ii (0..10) {...}". Did you also know that for and foreach loop declare their own local loop variable within the for loop? So $ii outside the loop is not the same as inside the loop in the following code:

my $ii = -1;
LOOP:
for $ii (0..10) {
last LOOP if ($ii >= 5);
}
print "$ii\n"; # This prints -1 not 5!

Some of the Best Practices are quite severe but there are lots of useful bits that you can pick and mix. All the best practices are clearly illustrated with don'ts followed by do's (in bold). Those with previous programming experience might even be better off starting with this book (supplemented with some online materials) to avoid picking up bad habits.

This book will make your Perl scripts more readable, more efficient, easier to debug and maintain.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars No Perl bookshelf should be without it...
I have to agree with the previous reviewers that this book will seriously change the way you code Perl. Read more
Published 23 months ago by Daniel Otterburn

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
This product's forum (1 discussion)
  Discussion Replies Latest Post
Testing 1 July 2007
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Listmania!


Look for similar items by category


Feedback


The Body Shop

The Body Shop - Vitamin C Skin Boost
Protect and boost your glow with The Body Shop Vitamin C Skin Boost.

Shop The Body Shop

 

More From Damian Conway

Object Oriented Perl

Object Oriented Perl by Damian Conway

Perl has always been a powerful and popular programming language but... Read more
£38.50 £32.73

 

Boys Smell

Lynx Africa Body Spray and After Shave Gift set
But we make sure they smell good...

Discover male grooming at Amazon.co.uk

 

Treat Someone

Amazon.co.uk Gift Certificates--available in any amount from £5 to £500 With an Amazon.co.uk Gift Certificate, you can get them what they want (even if you don't know what that is).

Learn more about Gift Certificates

 
Ad

Where's My Stuff?

Delivery and Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue Shopping: Top Sellers
The Girl Who Played with Fire
Breaking Dawn (Twilight Saga)
The Girl with the Dragon Tattoo
The Host
The Host by Stephenie Meyer

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates