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

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

on

  • 552 views

PerlChina Con 2011

PerlChina Con 2011

Statistics

Views

Total Views
552
Views on SlideShare
552
Embed Views
0

Actions

Likes
0
Downloads
0
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 走向开源:提交CPAN模块Step by Step Presentation Transcript

  • 走向开源 提交 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. 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
  • A nswer Q uestions
  • 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