Skip to main content
  • Book
  • © 2002

Writing Perl Modules for CPAN

Apress

Authors:

  • Introduces all aspects of CPAN: network topology, system navigation, the CPAN package manager, and the module submission process

  • Guides the reader through the entire Perl module design and development process

  • Provides valuable information regarding writing both C and CGI application modules for CPAN

  • Includes supplementary material: sn.pub/extras

Buy it now

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 34.95
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (11 chapters)

  1. Front Matter

    Pages i-xviii
  2. CPAN

    • Sam Tregar
    Pages 1-20
  3. Perl Module Basics

    • Sam Tregar
    Pages 21-64
  4. Module Design and Implementation

    • Sam Tregar
    Pages 65-94
  5. CPAN Module Distributions

    • Sam Tregar
    Pages 95-128
  6. Submitting Your Module to CPAN

    • Sam Tregar
    Pages 129-138
  7. Module Maintenance

    • Sam Tregar
    Pages 139-163
  8. Great CPAN Modules

    • Sam Tregar
    Pages 165-174
  9. Programming Perl in C

    • Sam Tregar
    Pages 175-204
  10. Writing C Modules with XS

    • Sam Tregar
    Pages 205-236
  11. Writing C Modules with Inline::C

    • Sam Tregar
    Pages 237-251
  12. CGI Application Modules for CPAN

    • Sam Tregar
    Pages 253-271
  13. Back Matter

    Pages 273-294

About this book

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.

About the author

Sam Tregar has been creating open source software for six years, four of which have been focused on coding in Perl. He is 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.

Bibliographic Information

  • Book Title: Writing Perl Modules for CPAN

  • Authors: Sam Tregar

  • DOI: https://doi.org/10.1007/978-1-4302-1152-5

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Springer Book Archive

  • Copyright Information: Sam Tregar 2002

  • Softcover ISBN: 978-1-59059-018-8Published: 14 August 2002

  • eBook ISBN: 978-1-4302-1152-5Published: 09 August 2002

  • Edition Number: 1

  • Number of Pages: XVIII, 312

  • Topics: Web Development, Software Engineering/Programming and Operating Systems

Buy it now

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 34.95
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access