作者:Sam Tregar
出版日期:2002-08
出版社:Apress
页数:288
ISBN:9781590590188
文件格式:PDF
Writing Perl Modules for CPAN offers Perl developers a comprehensiveguide to using and contributing to the Comprehensive Perl ArchiveNetwork (CPAN). Starting with a general overview of CPAN’s history,network topology, and navigational mechanisms, the book quickly bringsyou up to speed regarding how to search out and install availablemodules. However, in the true open source spirit, author andexperienced Perl developer Sam Tregar teaches you how to not only use,but also contribute to CPAN via an in-depth discussion of modulecreation, submission, and maintenance.
Beginning with a survey of basic design principles, Tregar takescare to discuss all issues relevant to developers wishing to creategreat Perl modules, including choosing a proper name, properly usingPerl’s POD (plain old documentation) feature, concepts surroundingfunctional and object-oriented API development, and much more. Tregarthen proceeds with a complete dissertation of how modules shouldconform to CPAN module specifications, covering required distributionfiles and coding considerations, in addition to offering adviceregarding proper module testing. After demonstrating how to create amodule and prepare it for release, Tregar guides you through the CPANmodule submission process and discusses module maintenance once themodule 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.