• Save
Create and upload your first Perl module to CPAN
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Create and upload your first Perl module to CPAN

on

  • 4,634 views

Create your first Perl module and upload it to CPAN.

Create your first Perl module and upload it to CPAN.

Statistics

Views

Total Views
4,634
Views on SlideShare
4,634
Embed Views
0

Actions

Likes
4
Downloads
0
Comments
1

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

Create and upload your first Perl module to CPAN Presentation Transcript

  • 1. Uploading Your First Module to CPAN brian d foy The Perl Review YAPC::EU 2011, Rīga
  • 2. PAUSE• You upload through PAUSE http://pause.perl.org• The Perl Authors Upload Server• This is a stepping stone to CPAN
  • 3. Indexing• PAUSE indexes and creates data files for the CPAN clients• Only the latest distributions get into it• People have permissions for namespaces
  • 4. Get a PAUSE Accounthttps://pause.perl.org/pause/query?ACTION=request_id
  • 5. Choose amodule namehttps://pause.perl.org/pause/query? ACTION=pause_namingmodules
  • 6. Permissions• You can upload a namespace someone else already uses• But PAUSE will ignore it• A good name goes a long way• We have general advice on names https://pause.perl.org/pause/query? ACTION=pause_namingmodules
  • 7. Create the distro• There are modules that can help you • Module::Starter • Distribution::Cooker • h2xs (comes with Perl) • many others
  • 8. 25,000 Examples• Look at other distributions to get examples• See how other people do it• Ask them questions
  • 9. Github
  • 10. Uploadhttps://pause.perl.org/pause/authenquery?ACTION=add_uri
  • 11. Upload early & often• You don’t have to be perfect, or even good• Other people can help as soon as possible• CPAN Testers can send you feedback
  • 12. CPAN Search
  • 13. Lots more• PAUSE lets you add co-maintainers• You can take over existing modules• You can help with other people’s modules
  • 14. Publicize your module• Don’t be shy• Write something on blogs.perl.org• Tweet it, plus it, facebook it• Give a lightning talk
  • 15. Getting help• For help with PAUSE issues, write to modules@perl.org• One of the PAUSE volunteer admins can help you• For general module questions, you might try module-authors@perl.org• For CPAN Search issues, try cpansearch@perl.org