perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: [mp2] Suggest renaming Apache::Module $module->version
Date Thu, 16 Sep 2004 01:56:27 GMT

Stas Bekman wrote:
> Philippe M. Chiasson wrote:
>> The ->version() method on an Apache::Module isn't the module's version
>> (from http_config.h):
>>   typedef struct module_struct module;
>>   struct module_struct {
>>     /** API version, *not* module version; check that module is
>>      * compatible with this version of the server.

>> <gozer> required_version
>> <gozer> min_version
>> <gozer> version_compat
>> <argh_> required_apache_api_version?
>> <argh_> built_against_apache_api_version?
>> <gozer> required_apache_api_version
> Philippe has ommitted the part of irc log where I've suggested that
> required might be misleading, since in perl it's meaning is overloaded
> to mean this or higher, whereas in the case of the module it requires
> the exact version, no more and no less.

what about just api_version()?  I think that sets it apart enough from
perlish ideas about require() and provides a means to explain the exactness
of the required match.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message