Your SlideShare is downloading. ×
0
走向开源 提交 CPAN 模块  Step By Step   [email_address]
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
 
Everywhere  ! use  lib  '/path/mylib';
Perl -M CPAN  -e shell use  lib  '/path/mylib';
Really  Easy.
STEP 1
Begin with  h2xs
h2xs -XA -n Module::Foo
 
 
 
 
 
 
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. ...
pod2text
A nswer Q uestions
STEP 3
Upload with  PAUSE
 
 
 
 
Upload
Pre-Upload Checklist <ul><li>MANIFEST </li></ul><ul><li>Version Number </li></ul><ul><li>Change file </li></ul><ul><li>dis...
 
join  $YOU ,   @CPAN ;
<ul><li>Have a happy weekend </li></ul><ul><ul><ul><ul><ul><li>http://weibo.com/chengang2 </li></ul></ul></ul></ul></ul><u...
Upcoming SlideShare
Loading in...5
×

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

387

Published on

PerlChina Con 2011

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
387
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "走向开源:提交CPAN模块Step by Step"

  1. 1. 走向开源 提交 CPAN 模块 Step By Step [email_address]
  2. 2. Why Talk About This ?
  3. 3. 1976 emacs 1985 gcc 1987 PERL 1991 Linux Kernel Python http://en.wikipedia.org/wiki/Free_software
  4. 4. 96,557 Modules http://stats.cpantesters.org/statscpan.html
  5. 5. 5,322 Active Authors http://stats.cpantesters.org/statscpan.html
  6. 6. 36 Chinese Authors http://search.cpan.org/~fayland/Acme-CPANAuthors-Chinese-0.20/lib/Acme/CPANAuthors/Chinese.pm
  7. 7. Help improve your code
  8. 8. given enough eyeballs, all bugs are shallow. --Linus' s Law
  9. 10. Everywhere ! use lib '/path/mylib';
  10. 11. Perl -M CPAN -e shell use lib '/path/mylib';
  11. 12. Really Easy.
  12. 13. STEP 1
  13. 14. Begin with h2xs
  14. 15. h2xs -XA -n Module::Foo
  15. 22. STEP 2
  16. 23. Talk on modules@ perl .org
  17. 24. 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 ...
  18. 25. pod2text
  19. 26. A nswer Q uestions
  20. 27. STEP 3
  21. 28. Upload with PAUSE
  22. 33. Upload
  23. 34. Pre-Upload Checklist <ul><li>MANIFEST </li></ul><ul><li>Version Number </li></ul><ul><li>Change file </li></ul><ul><li>dist filename </li></ul><ul><li>test again </li></ul>
  24. 36. join $YOU , @CPAN ;
  25. 37. <ul><li>Have a happy weekend </li></ul><ul><ul><ul><ul><ul><li>http://weibo.com/chengang2 </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>http://blog.yikuyiku.com </li></ul></ul></ul></ul></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×