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

Like this? Share it with your network

Share

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

on

  • 576 views

PerlChina Con 2011

PerlChina Con 2011

Statistics

Views

Total Views
576
Views on SlideShare
576
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

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 Presentation Transcript

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