[mp2] Suggest renaming Apache::CmdParms $parms->info to $parms->cmd_data

2004-09-13 Thread Philippe M. Chiasson
From this example : our @APACHE_MODULE_COMMANDS = ( { name => 'MyDirective1', func => \&MyDirective, cmd_data => 'One', }, { name => 'MyDirective2', func => \&MyDirective, cmd_data => 'Two', }, ); sub MyDirective { my($self, $parms, $arg

[mp2] Suggest renaming Apache::Module $module->version

2004-09-13 Thread Philippe M. Chiasson
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. */ int version; S

Re: [mp2] Suggest renaming Apache::CmdParms $parms->info to $parms->cmd_data

2004-09-13 Thread Stas Bekman
Philippe M. Chiasson wrote: From this example : our @APACHE_MODULE_COMMANDS = ( { name => 'MyDirective1', func => \&MyDirective, cmd_data => 'One', }, { name => 'MyDirective2', func => \&MyDirective, cmd_data => 'Two', }, ); sub MyDirective

Re: [mp2] Suggest renaming Apache::CmdParms $parms->info to $parms->cmd_data

2004-09-13 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: From this example : our @APACHE_MODULE_COMMANDS = ( { name => 'MyDirective1', func => \&MyDirective, cmd_data => 'One', }, { name => 'MyDirective2', func => \&MyDirective, cmd_data => 'Two', }, ); sub MyDir

Re: [mp2] Suggest renaming Apache::Module $module->version

2004-09-13 Thread Stas Bekman
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 serve