Summer Reading B2G1 Free

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Original Essays | July 15, 2015

    Frank Wilczek: IMG You Are... Who?

    Writing a book is an unnatural act of communication. Speaking to a person, or even to an audience, is an interaction. Very different styles are... Continue »
    1. $20.97 Sale Hardcover add to wish list

Qualifying orders ship free.
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
25 Remote Warehouse General- General
2 Remote Warehouse Computer Languages- CGI

Perl Best Practices


Perl Best Practices Cover


Synopses & Reviews

Publisher Comments:

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

Book News Annotation:

An Australian trainer suggests 256 coding practices for enhancing the robustness, efficiency, and maintainability of Perl code. Organized into 18 chapters, the guidelines address code layout, naming conventions, control structures, documentation, built-in functions, input/output, regular expressions, error handling, command-line processing, objects, class hierarchies, modules, and testing.
Annotation 2006 Book News, Inc., Portland, OR (

Book News Annotation:

An Australian trainer suggests 256 coding practices for enhancing the robustness, efficiency, and maintainability of Perl code. Organized into 18 chapters, the guidelines address code layout, naming conventions, control structures, documentation, built-in functions, input/output, regular expressions, error handling, command-line processing, objects, class hierarchies, modules, and testing. Annotation ©2006 Book News, Inc., Portland, OR (

About the Author

Damian Conway holds a PhD in Computer Science and is an honorary Associate Professor with the School of Computer Science and Software Engineering at Monash University, Melbourne, Australia.Currently he runs an international IT training company--Thoughtstream--which provides programmer development from beginner to masterclass level throughout Europe, North America, and Australasia.Damian was the winner of the 1998, 1999, and 2000 Larry Wall Awards for Practical Utility. The best technical paper at the annual Perl Conference was subsequently named in his honour. He is a member of the technical committee for The Perl Conference, a keynote speaker at many Open Source conferences, a former columnist for The Perl Journal, and author of the book Object Oriented Perl. In 2001 Damian received the first "Perl Foundation Development Grant" and spent 20 months working on projects for the betterment of Perl.A popular speaker and trainer, he is also the author of numerous well-known Perl modules, including Parse::RecDescent (a sophisticated parsing tool), Class::Contract (design-by-contract programming in Perl), Lingua::EN::Inflect (rule-based English transformations for text generation), Class::Multimethods (multiple dispatch polymorphism), Text::Autoformat (intelligent automatic reformatting of plaintext), Switch (Perl's missing case statement), NEXT (resumptive method dispatch), Filter::Simple (Perl-based source code manipulation), Quantum::Superpositions (auto-parallelization of serial code using a quantum mechanical metaphor), and Lingua::Romana::Perligata (programming in Latin).Most of his time is now spent working with Larry Wall on the design of the new Perl 6 programming language.

Table of Contents

DedicationPrefaceChapter 1: Best PracticesChapter 2: Code LayoutChapter 3: Naming ConventionsChapter 4: Values and ExpressionsChapter 5: VariablesChapter 6: Control StructuresChapter 7: DocumentationChapter 8: Built-in FunctionsChapter 9: SubroutinesChapter 10: I/OChapter 11: ReferencesChapter 12: Regular ExpressionsChapter 13: Error HandlingChapter 14: Command-Line ProcessingChapter 15: ObjectsChapter 16: Class HierarchiesChapter 17: ModulesChapter 18: Testing and DebuggingChapter 19: MiscellaneaEssential Perl Best PracticesPerl Best PracticesEditor ConfigurationsRecommended Modules and UtilitiesBibliographyColophon

Product Details

Conway, Damian
O'Reilly Media
Programming Languages - CGI, Javascript, Perl, VBScript
Perl (computer program language)
Programming Languages - Perl
6;Damian Conway;PBP;Perl;code layout;control structures;data structures;interface design;modules;naming conventions;parrot;program decomposition
CourseSmart Subject Description
Edition Description:
Print PDF
Publication Date:
9.19 x 7 x 0.98 in 1.74 lb

Other books you might like

  1. Higher-Order Perl
    New Trade Paper $91.92
  2. Advanced Perl Programming 2ND Edition Used Trade Paper $19.95
  3. Java RMI
    New Trade Paper $54.95
  4. Programming Perl, 3rd Edition Used Trade Paper $25.00
  5. Sams Teach Yourself Perl in 24 Hours... Used Trade Paper $18.00
  6. Beginning Cryptography with Java New Trade Paper $36.25

Related Subjects

Arts and Entertainment » Art » General
Computers and Internet » Computer Languages » Javascript
Computers and Internet » Computer Languages » Perl
Computers and Internet » Computer Languages » The Attic
Computers and Internet » Operating Systems » Linux
Computers and Internet » Software Engineering » Programming and Languages
History and Social Science » Politics » United States » Foreign Policy
Metaphysics » General

Perl Best Practices New Trade Paper
0 stars - 0 reviews
$39.99 In Stock
Product details 544 pages O'Reilly & Associates - English 9780596001735 Reviews:
  • back to top


Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at