Writing Perl Modules for CPAN

By Sam Tregar

  • eBook Price: $24.99
  • Print Book Price: $34.95
Buy eBook Buy Print Book Add to Wishlist

Writing Perl Modules for CPAN Cover Image

Teaching Perl module design and implementation from the ground up, this book offers Perl developers a comprehensive guide to using and contributing to the Comprehensive Perl Archive Network (CPAN).

Full Description

  • ISBN13: 978-1-59059-018-8
  • 312 Pages
  • User Level: Beginner to Advanced
  • Publication Date: August 13, 2002
  • Available eBook Formats: PDF

Related Titles

Full Description

Writing Perl Modules for CPAN offers Perl developers a comprehensive guide to using and contributing to the Comprehensive Perl Archive Network (CPAN). Starting with a general overview of CPAN's history, network topology, and navigational mechanisms, the book quickly brings you up-to-speed regarding how to search out and install available modules. However, in the true open source spirit, author and experienced Perl developer Sam Tregar teaches you how to not only use, but also contribute to CPAN via an in-depth discussion of module creation, submission, and maintenance.

Beginning with a survey of basic design principles, Tregar takes care to discuss all issues relevant to developers wishing to create great Perl modules, including choosing a proper name, properly using Perl's POD (plain old documentation) feature, concepts surrounding functional and object-oriented API development, and much more. Tregar then proceeds with a complete dissertation of how modules should conform to CPAN module specifications, covering required distribution files and coding considerations, in addition to offering advice regarding proper module testing. After demonstrating how to create a module and prepare it for release, Tregar guides you through the CPAN module submission process and discusses module maintenance once the module has been contributed to the CPAN service.

Writing Perl Modules for CPAN is an indispensable guide for anyone wishing to make the most of the CPAN service.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

On page 212:

The second paragraph states:

... when xsubpp is run on MIME.xs to produce MIME.xs, which is renamed MIME.c...

The following line of code shows that xsubpp produces MIME.xsc.


    1. $34.99

      View Details

    2. $34.99

      View Details

    3. $27.99

      View Details

    4. $41.99

      View Details

    5. $38.99

      View Details