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 {
    my($self, $parms, $args) = @_;
    my $info = $parms->info;
                       ^^^^

Wouldn't $parms->cmd_data make more sense ?

+1

Especially since parms->info on the C level is something else. It's really parms->info->cmd_data.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to