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

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

Chris
M-x auto-bs-mode


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-12-18 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (48 votes), past polls