http://qs1969.pair.com?node_id=159008


in reply to How to make a CPAN Module Distribution

Packaging note: a make tardist will bundle up all the files in MANIFEST to a tarball for you. It's more useful to me than the straight tar and gzip because I tend to have extra (non-distributable) stuff in my module working directory.

Also, if you're going to use CVS tags to track VERSION numbers of all but your top-level module (recommended for sheer laziness and consistency), remember to do it in the beginning. If you decide to do it later you'll almost certainly wind up confusing CPAN because you get a sub-module with a lower VERSION than your previous distribution's version.

Update: forgot one other useful thing: You can create a MANIFEST file in the current directory by running:

$  perl -MExtUtils::Manifest -e 'ExtUtils::Manifest::mkmanifest()'

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: How to make a CPAN Module Distribution
by simonflk (Pilgrim) on Apr 15, 2002 at 00:30 UTC

    I also recommend reading perlnewmod. It is also worth reading perlmod and perlmodlib for general information about writing modules, versions, the CPAN, etc

    Depending on your coding style, you may find ExtUtils::ModuleMaker useful.

    <sig>

    -- simonflk

    </sig>

    update: Sorry lachoy, I meant this as a reply to root doc. God, I haven't done that in a while!

    update 2: Just posted a review of ExtUtils::ModuleMaker with sample code. BTW, if you use Make.pm on Win32, it will do a make dist.

      Thanks for the link to Make.pm. Nice review too.

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print