>>>>> On Mon, 14 Aug 2000 10:04:33 +0200 (CEST), Stas Bekman <[EMAIL PROTECTED]> said:

cpan> install mod_perl_guide
 > Running make for S/ST/STAS/Apache-mod_perl_guide-1.22.tar.gz

 > Got another SIGINT
cpan> install Apache::mod_perl_guide
 > Running make for S/ST/STAS/Apache-mod_perl_guide-1.23.tar.gz

 > ...while the latest version is 1.25. Something is wrong.

 > I won't delete the previous versions of the Guide now, so whoever handles
 > CPAN now (I think it's Jarkko Hietaniemi) will be able to verify and debug
 > this apparently broken behavior.


If you want to use CPAN.pm as a distribution medium for the guide, you
need to be careful about versioning. You need to tell people which
module (or pseudo module) they should install in order to get the
guide and you should then make sure that this module always carries
the latest version number.

You need to know that PAUSE is parsing the *.pm files in order ot
guess the $VERSION.

So when I look at 1.25, I find only one file that contains the
$VERSION=1.25 and that is src/Version.pm. And that file does not have
a package declaration, so PAUSE has no chance to guess which package
is referred to.

Note that PAUSE is parsing, not interpreting the code, so perl tricks
do not work. You need to write pretty straightforward code.

So, I hear you asking, "what should I do"? I believe that you should
include the $VERSION=1.25 in your mod_perl_guide.pm where there is
already a package declaration. If it doesn't work, let me know shortly
after the upload, and I'll find a better suggestion.

-- 
andreas

Reply via email to