走向开源:向CPAN提交模块Step By Step
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 711 views

From Beijing Perl Workshop 2011 http://conference.perlchina.org/bjpw2011/

From Beijing Perl Workshop 2011 http://conference.perlchina.org/bjpw2011/

Statistics

Views

Total Views
711
Views on SlideShare
711
Embed Views
0

Actions

Likes
1
Downloads
11
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • 走向开源提交 CPAN 模块 Step By Step chengang@cpan.org
  • Why Talk About This ?
  • 1976 emacs1985 gcc1987 PERL1991 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 Authorshttp://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
  • 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
  • STEP 2
  • Talk onmodules@perl.org
  • Subject: [RFC]Module::FooMail to: modules @perl.orgContent:Hello all - Ive 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 2011SYNOPSIS Bala bala bala...
  • pod2text
  • AnswerQuestions
  • STEP 3
  • Upload with PAUSE
  • Upload
  • Pre-Upload Checklist  MANIFEST  Version Number  Change file  dist filename  test again
  • join $YOU, @CPAN;
  • Have a happy weekend http://weibo.com/chengang2 http://blog.yikuyiku.com