On Thursday, June 5, 2003, at 02:28 pm, Richard Clamp wrote:

Put the rcs header in the others if you must, but I'd
advocate not using it to derive a version number, since that tesnd you
bit your ass in many ways.

* You may want to move across VCS systems.
* You have a disaster which results in your number reverting to
1.1 when you check in the CPAN release it being the only known copy.


If you really want to make it programatically available I'd suggest
you take a page from Andy Wardleys book and put that in a variable
called $REVISION

Hmm.. makes sense - ta for pointing that out.



Other things you should do:
  *     set VERSION_FROM and ABSTRACT_FROM => 'lib/WWW/CIA.pm' in
Makefile.PL
  *     create a MANIFEST with 'make manifest'
  *     read http://www.cpan.org/misc/cpan-faq.html#How_contribute_modules

* Throw ExtUtils::MakeMaker away, and rejoice in the cleanliness
of Module::Build (create_makefile_pl if you must, just to keep the
CPAN.pm users from lynching you.)

Yeah - understanding ExtUtils::MakeMaker is great fun.


I think it's about time to check out Module::Build - I've heard good things about it...

-Steve




Reply via email to