SlideShare a Scribd company logo
走向开源
提交 CPAN 模块 Step By Step

               chengang@cpan.org
Why Talk About This ?
1976   emacs
1985   gcc
1987   PERL
1991   Linux Kernel
       Python

               http://en.wikipedia.org/wiki/Free_software
96,557
  Modules




            http://stats.cpantesters.org/statscpan.html
5,322
 Active Authors




                  http://stats.cpantesters.org/statscpan.html
36
              Chinese Authors




http://search.cpan.org/~fayland/Acme-CPANAuthors-Chinese-0.20/lib/Acme/CPANAuthors/Chinese.pm
Help improve your code
given enough eyeballs, all bugs are shallow.


                          --Linus' s Law
走向开源:向CPAN提交模块Step By Step
use lib '/path/mylib';


      Everywhere !
use lib '/path/mylib';


Perl -MCPAN -e shell
Really Easy.
STEP 1
Begin with h2xs
h2xs -XA -n Module::Foo
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
STEP 2
Talk on
modules@perl.org
Subject: [RFC]Module::Foo
Mail to: modules @perl.org
Content:
Hello all - I've written a new module called Module::Foo.
Take a look at the documentation and tell me what you think.
Tks you for your time.

NAME
       Module::Foo – an example on Beijing Perl Workshop 2011
SYNOPSIS
   Bala bala bala

...
pod2text
Answer
Questions
STEP 3
Upload with PAUSE
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
走向开源:向CPAN提交模块Step By Step
Upload
Pre-Upload Checklist
    MANIFEST

    Version Number

    Change file

    dist filename

    test again
走向开源:向CPAN提交模块Step By Step
join $YOU, @CPAN;
Have a happy weekend

    http://weibo.com/chengang2
    http://blog.yikuyiku.com

More Related Content

PPT
走向开源:提交CPAN模块Step by Step
PDF
Reverse Installing CPAN
PDF
CPAN Training
PDF
Kernel bug hunting
KEY
The problem with Perl
PDF
Indexing BackPAN
PDF
PDF
Making My Own CPAN
走向开源:提交CPAN模块Step by Step
Reverse Installing CPAN
CPAN Training
Kernel bug hunting
The problem with Perl
Indexing BackPAN
Making My Own CPAN

What's hot (20)

PDF
Kernel Recipes 2016 - Kernel documentation: what we have and where it’s going
PDF
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
PPTX
Composer | PHP Dependency Manager
PDF
BackPAN Archeology
PPT
How Typepad changed their architecture without taking down the service
PPT
Os Webb
PDF
Composer
PDF
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
PPTX
Composer namespacing
PDF
IPv4aaS tutorial and hands-on
PDF
GeoDistributed datacenter: the DNS way
PPTX
Symfony Under Control by Maxim Romanovsky
PPTX
Rust programming-language
PDF
Rust's Journey to Async/await
PDF
4Developers 2015: Scaling LAMP doesn't have to suck - Sebastian Grodzicki
PDF
Why I Love CPAN
PDF
Brief introduction to kselftest
PPT
ruby + websocket + haproxy
ODP
Testing Toolbox
PPTX
Failing at Scale - PNWPHP 2016
Kernel Recipes 2016 - Kernel documentation: what we have and where it’s going
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
Composer | PHP Dependency Manager
BackPAN Archeology
How Typepad changed their architecture without taking down the service
Os Webb
Composer
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
Composer namespacing
IPv4aaS tutorial and hands-on
GeoDistributed datacenter: the DNS way
Symfony Under Control by Maxim Romanovsky
Rust programming-language
Rust's Journey to Async/await
4Developers 2015: Scaling LAMP doesn't have to suck - Sebastian Grodzicki
Why I Love CPAN
Brief introduction to kselftest
ruby + websocket + haproxy
Testing Toolbox
Failing at Scale - PNWPHP 2016
Ad

Viewers also liked (8)

PPT
使用Nginx轻松实现开源负载均衡
PPT
counsil
PDF
并发模型介绍
PPTX
Maxthon and Perl(Beijing Perl Workshop 2009)
PPT
揭开Javascript的面纱
PDF
Any event intro
PDF
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
PDF
The Outcome Economy
使用Nginx轻松实现开源负载均衡
counsil
并发模型介绍
Maxthon and Perl(Beijing Perl Workshop 2009)
揭开Javascript的面纱
Any event intro
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
The Outcome Economy
Ad

Similar to 走向开源:向CPAN提交模块Step By Step (20)

ODP
30 Minutes To CPAN
PDF
CPAN 模組二三事
PPT
perlall
PDF
CPANci: Continuous Integration for CPAN
ODP
Embedding perl
PDF
How CPAN Testers helped me improve my module
PDF
PDF
Authoring CPAN modules
PDF
System Programming and Administration
PPTX
CPAN Curation
ODP
Things I Learned From Having Users
PDF
newperl5
PDF
newperl5
PDF
CPAN Dependency Heaven
PDF
Perl University: Getting Started with Perl
ODP
Perl - laziness, impatience, hubris, and one liners
PDF
Building C and C++ libraries with Perl
PDF
Introduction to Perl
PDF
Perl.Hacks.On.Vim Perlchina
PDF
Introduction to writing readable and maintainable Perl
30 Minutes To CPAN
CPAN 模組二三事
perlall
CPANci: Continuous Integration for CPAN
Embedding perl
How CPAN Testers helped me improve my module
Authoring CPAN modules
System Programming and Administration
CPAN Curation
Things I Learned From Having Users
newperl5
newperl5
CPAN Dependency Heaven
Perl University: Getting Started with Perl
Perl - laziness, impatience, hubris, and one liners
Building C and C++ libraries with Perl
Introduction to Perl
Perl.Hacks.On.Vim Perlchina
Introduction to writing readable and maintainable Perl

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
sap open course for s4hana steps from ECC to s4
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release

走向开源:向CPAN提交模块Step By Step