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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

375

Published on

PerlChina Con 2011

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
375
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×