perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject Re: cvs commit: modperl-2.0/todo release
Date Mon, 09 Aug 2004 18:29:56 GMT

Stas Bekman wrote:
> Philippe M. Chiasson wrote:
>>More like
>>So, I'd suggest this naming
>>with 2 new macros :
>>To add to the top of a directive handler ?
> Yes, but using those you can't tell from the declaration the scope of 
> the directive. Is it really incovenient to have top-level declaration 
> macros that tell it all?

It would be ideal, but what I am trying to say is that's it's error prone.

If you want a directive to be SRV + HTACCESS, you'd have to put

MP_CMD_SRV_AND_HTACCESS("<Perl>",[...]); (an alias for OR_ALL)



To the top of the directive implementation, so seeing MP_CMD_SRV_AND_HTACCESS in
modperl_cmd.h woundlnt' guarantee that the directive is  doing that.

Do you see my point ?

Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

View raw message