Re: [Fwd: HTML::Mason::ApacheHandler went retroversion]
Jonathan Swartz <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
>> Dave> So why does CPAN think it has no version? >> >> Did you recently add the "use mod_perl" stuff? Apparently, that's >> been messing up more than one distribution. > > > Yep, that was just added for this release. It used to be farther down > in the file, but maybe moving it to the top broke something. Seems like > maybe PAUSE needs to be fixed to not blow up on this, maybe. > Found this: http://apache.scarlet.be/perl/mod_perl-1.99_13/docs/user/porting/porting.pod "Though, make sure that you don't use C<$mod_perl::VERSION> string anywhere in the code before you have declared your module's own C<$VERSION>, since PAUSE will pick the wrong version when you submit the module on CPAN. It requires that module's C<$VERSION> will be declared first. You can verify whether it'll pick the I<Foo.pm>'s version correctly, by running this code: % perl -MExtUtils::MakeMaker -le 'print MM->parse_version(shift)' Foo.pm There is more information about this issue here: http://pause.perl.org/pause/query?ACTION=pause_04about#conventions I'm guessing we won't be able to rely on a PAUSE fix anytime soon - we'll have to "fix" our "bug" and re-release. Jon ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click