Writing Perl Modules for CPAN

Sam Tregar

  • 出版商: Apress
  • 出版日期: 2002-08-14
  • 售價: $1,420
  • 貴賓價: 9.5$1,349
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 159059018X
  • ISBN-13: 9781590590188
  • 相關分類: Perl 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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 then quickly brings readers 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 readers 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 creat a module and prepare it for release, Tregar guides readers 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.

Contents

Chapter 1: CPAN

Chapter 2: Perl Module Basics

Chapter 3: Module Design and Implementation

Chapter 4: CPAN Module Distributions

Chapter 5: Submitting Your Module to CPAN

Chapter 6: Module Maintenance

Chapter 7: Great CPAN Modules

Chapter 8: Programming Perl in C

Chapter 9: Writing C Modules with XS

Chapter 10: Writing C Modules with Inline::C

Chapter 11: CGI Application Modules for CPAN

商品描述(中文翻譯)

《Writing Perl Modules for CPAN》為Perl開發人員提供了一本全面的指南,介紹如何使用和貢獻給綜合Perl存檔網絡(CPAN)。從CPAN的歷史、網絡拓撲和導航機制的概述開始,本書迅速使讀者了解如何搜索和安裝可用的模塊。然而,作者和經驗豐富的Perl開發人員Sam Tregar以真正的開源精神教導讀者不僅如何使用,還如何通過深入討論模塊的創建、提交和維護來貢獻給CPAN。

從基本設計原則的調查開始,Tregar謹慎地討論了所有與希望創建出色的Perl模塊的開發人員相關的問題,包括選擇適當的名稱,正確使用Perl的POD(plain old documentation)功能,圍繞功能和面向對象API開發的概念等等。然後,Tregar進一步詳細介紹了模塊應如何符合CPAN模塊規範,包括必需的分發文件和編碼注意事項,並提供有關正確模塊測試的建議。在演示如何創建模塊並準備發布後,Tregar引導讀者完成CPAN模塊提交過程,並討論模塊在貢獻給CPAN服務後的維護。

《Writing Perl Modules for CPAN》是任何希望充分利用CPAN服務的人的不可或缺的指南。

目錄:
第1章:CPAN
第2章:Perl模塊基礎
第3章:模塊設計和實現
第4章:CPAN模塊分發
第5章:將模塊提交到CPAN
第6章:模塊維護
第7章:優秀的CPAN模塊
第8章:使用C編程Perl
第9章:使用XS編寫C模塊
第10章:使用Inline::C編寫C模塊
第11章:為CPAN編寫CGI應用模塊