Your SlideShare is downloading. ×
Create and upload your first Perl module to CPAN
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

Create and upload your first Perl module to CPAN

4,143
views

Published on

Create your first Perl module and upload it to CPAN.

Create your first Perl module and upload it to CPAN.

Published in: Technology, Art & Photos

1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,143
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
1
Likes
4
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. 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

×