First Time CPAN Contributor

Adam M Dutko

Why you might be here?

About Me

Before I get started ...
What's up with this?

WTF

What the hell?
  • And now back to our regularly scheduled program ...
  • Contributions


  • The CPAN

  • Part 0: Where do I start?

    Documentation

    perlstyle

    perlmodstyle

    perlmodlib

    perlnewmod

    Part1: Some "pointers"

    Namespace Selection

    Versioning

    Version Fail



    # actual CPAN version numbers

    $VERSION = VERSION;

    $VERSION = 0xdeadbeef;

    our $VERSION = 'set-when-loading';

    our $VERSION = "1.2-trailing-junk";

    Version Helper

    #!/usr/bin/perl
    use Modern::Perl '2013';
    use version 0.77;

    ## Fail on perlstyle
    print "VALID\n" if version->is_lax('2014.0621') . "\n";

    print "INVALID\n" if version->is_lax('wheresthebeef') . "\n";

    Suggestions

    Part 2: Basic Steps

    Tools

    PAUSE



    PAUSE

  • http://pause.perl.org
  • DSLIP

    Request Tracker



    RT

  • http://rt.perl.org
  • Module::Starter

    cpanm -i Module::Starter

    module-starter
            --module=Linux::Kernel
            --author="Adam M Dutko"
            --email="addutko@cpan.org"
            --license="gpl" 
          
    perl Makefile.PL
    make
    (make test)
    make dist

    Module::Starter

        Added to MANIFEST: Changes
        Added to MANIFEST: ignore.txt
        Added to MANIFEST: lib/Linux/Kernel.pm
        Added to MANIFEST: Makefile.PL
        Added to MANIFEST: MANIFEST
        Added to MANIFEST: README
        Added to MANIFEST: t/00-load.t
        Added to MANIFEST: t/boilerplate.t
        Added to MANIFEST: t/manifest.t
        Added to MANIFEST: t/pod-coverage.t
        Added to MANIFEST: t/pod.t
        Created starter directories and files
      

    Iterate

    Document

          NAME
            ·   SYNOPSIS
            ·   DESCRIPTION
            ·   MODULES && SUBMODULES 
            ·   BUGS/CAVEATS/etc
            ·   AUTHOR
            ·   SEE ALSO
            ·   COPYRIGHT and LICENSE
      
    http://search.cpan.org/search?module=Cisco::Conf

    Upload

    Part 3: Next Steps

    Dist::Zilla

    Update

    Need help?

    Thank you Perl



        All right... all right... but apart from 
        better sanitation, the medicine, education,
        wine, public order, irrigation, roads, 
        a fresh water system, and public health ...
        what ha[s] [Perl] ever done for us?' 
    
          - Monty Python