Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: How to make a CPAN Module Distribution

by lachoy (Parson)
on Apr 14, 2002 at 21:11 UTC ( #159008=note: print w/ replies, xml ) Need Help??

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()'

M-x auto-bs-mode

Comment on Re: How to make a CPAN Module Distribution
Select or Download Code
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.


    -- simonflk


    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 on Win32, it will do a make dist.

      Thanks for the link to Nice review too.




Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159008]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2015-11-27 20:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (732 votes), past polls