perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [ANNOUNCE] mod_perl 2.0.0 (preview!)
Date Wed, 18 May 2005 16:37:46 GMT
Markus Wichitill wrote:
> Stas Bekman wrote:
> 
>>> I've noticed that ModPerl::MethodLookup has again no version number 
>>> and therefore is back on the update list after a current-SVN or 
>>> preview installation:
>>>
>>> cpan> r
>>> Package namespace     installed latest in CPAN file
>>> ModPerl::MethodLookup undef     0.009  
>>> S/ST/STAS/mod_perl-2.0.0-RC6.tar.gz
>>
>>
>> what do you mean 'again' did it ever have a version number?
> 
> 
> Well, according to the output of the above command, it does in 
> mod_perl-2.0.0-RC6.tar.gz.
> 
> In DummyVersions.pm, there's
> 
> package ModPerl::MethodLookup;
> $ModPerl::MethodLookup::VERSION = 1.999023;
> 
> I don't know why those numbers differ, but shouldn't the generated 
> module get a real version number in any case, so that the CPAN shell 
> doesn't think that all releases on CPAN are newer than the installed 
> versionless module?

Because CPAN.pm doesn't load DummyVersions.pm, it doesn't load anything at 
all. It just searches for a string VERSION in the file that it's 
presenting to you.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message