Writing Perl Modules for CPAN (Expert's Voice) and over 2 million other books are available for Amazon Kindle . Learn more
  • RRP: £27.49
  • You Save: £3.96 (14%)
FREE Delivery in the UK.
In stock.
Dispatched from and sold by Amazon.
Gift-wrap available.
Writing Perl Modules for ... has been added to your Basket
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Writing Perl Modules for Cpan (Book ) (Expert's Voice) Paperback – 1 Aug 2002

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
£13.24 £7.43

Trade In Promotion

Product details

  • Paperback: 316 pages
  • Publisher: Springer (1 Aug. 2002)
  • Language: English
  • ISBN-10: 159059018X
  • ISBN-13: 978-1590590188
  • Product Dimensions: 19.1 x 1.8 x 23.5 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,696,931 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Sam Tregar - Sam Tregar has been creating open source software for six years, four of which have been focused on coding in Perl. He is currently employed as a Perl programmer for About.com, where he spends his days designing and implementing content management systems. An active participant in the Perl development community, Sam is the author of a number of popular CPAN modules including HTML::Template, HTML::Pager, Inline::Guile, and Devel::Profiler. He holds a bachelor's degree in computer science from New York University. When not programming, Sam enjoys black-and-white photography, playing Go, reading, and maintaining the small private zoo curated by his wife.

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

Customer Reviews

5.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Most Helpful Customer Reviews

Format: Paperback Verified Purchase
This is a very arcane topic and the author, Sam Tregar, handles it with great skill, going from the very basics through to a ton of practical, directly implementable detail without being either patronising or baffling. These days, a lot of IT skills can be picked up by just jumping in and using Google when you get stuck. This, to me, is one of the rare cases when it really is worth buying the book.

I considered myself a fairly skilled Perl programmer writing code for in-house use in a demanding financial trading environment. Although I never got to actually writing and public releasing a CPAN module, (Perl's ecosphere for building and sharing add-on utility libraries), I still found it took me to a new level in writing maintainable, bug free code.

Another important thing to note is that it is also two books in one. The author devotes several chapters to writing or converting code in to C when you need high performance. Worth buying just for that, which is in fact what I did.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 6 reviews
22 of 22 people found the following review helpful
A great whirlwind tour of Perl modules and CPAN 13 Oct. 2002
By Mike Schilli - Published on Amazon.com
Format: Paperback
This charming book provides an extensive overview on pretty much everything you need to know to write a Perl module, prepare it for CPAN and submit it into the wild.
It's amazing how much this book covers: Not only does Sam Tregar show how object-oriented Perl modules are architected, how to write regression test suites, how to extend Perl modules with C code, but he gets also the community aspects right -- how does your module get really popular? You can tell that Sam is a successful Perl module author himself.
Now, on every single one of these topics one could have written another 300-page book, of course. But the charming aspect of the book is that, while it doesn't go into each and every detail, it provides an excellent overview to future module authors. The printing is quite anarchic, though, with low-budget drawings and some typos which could have been caught easily by a thorough proof-reader, but it's tolerable, it's like watching a low-budget film by a very talented young director.
If that's not enough, I found the last chapter of the book invaluable, covering the CGI::Application module, which enables authors to share popular CGI-flows (e.g. bulletin boards) on CPAN.
I can whole-heartedly recommend this book to every prospective CPAN author -- there's hardly any coverage of this topic anywhere in the Perl literature besides the somewhat scattered online documentation. Buy it today!
2 of 2 people found the following review helpful
One of my favorite Perl books 11 Feb. 2005
By Mark Leeds - Published on Amazon.com
Format: Paperback
One thing that makes a great programming book for me is how enjoyable it is to read from start to finish, as a reference, or just fun reading, where I just flip open to any page and read whatever I find there. Sam Tregar's book fits all of the above. Some books make you say to yourself, 'it's important stuff I should know, but I'll take a look at it later' and they usually put you to sleep after a page or two. Not this one! I cannot wait to get back to reading it and re-reading and then downloading modules and their docs for more reading and then I can't wait to put it all to use. I was even driving with it in my hand this morning with my finger in the last chapter (CGI Application Modules for CPAN) hoping for some long red lights so I could read another paragraph or two. I highly recommend this book to all Perl programmers.
1 of 1 people found the following review helpful
Great read for any Perl programmer 26 May 2004
By Phil Whelan - Published on Amazon.com
Format: Paperback
I found the style of this book very readable and friendly, covering the main idea behind the book (writing CPAN Modules), as well as being informative about Perl best practices and an insight into some great CPAN Modules.
4 of 6 people found the following review helpful
Solid, but not great, book 11 Feb. 2003
By Patrick Eyler - Published on Amazon.com
Format: Paperback
I just finished reading Sam Tregar's book, and found a lot of things I liked about it. It's very readable, describes the stuff you need to know to write modules. I really liked his coverage of Inline and of CGI::Application, two facets of module writing that haven't gotten enough coverage.
essential reading for serious Perl development 10 July 2011
By David Christensen - Published on Amazon.com
Format: Paperback Verified Purchase
"Writing Perl Modules for CPAN" provides pragmatic guidance in an area that I've not seen in any other published text. The content and presentation are excellent -- sufficient breadth and depth, without overkill; good grammar and style; virtually no typos; and good layout, printing, and binding. A top-notch job in an industry with so many disappointing examples. The main portion of the book covers information I learned the hard way, and helped me to fill in some of the knowledge gaps that are inherent to that approach. (I wish I had bought this book when it came out in 2002.) The chapters on XS give valuable insight into how Perl itself is built, which can only make the reader a better Perl programmer. The final chapter on HTML::Application whets the reader's appetite in a subject area that still draws many people to Perl. Understand that this is not a beginner's book -- it's for intermediate to advanced Perl programmers who are ready to start building idiomatic Perl libraries. Even if you're not going to publish your modules on CPAN, following the convention has numerous benefits. Some of the content is dated, but the process described is what I've been using for years. (Help can be found via the Perl module-authors mailing list at [...]). I would welcome the opportunity to buy an updated edition. :-)
Were these reviews helpful? Let us know