perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [vote] Re: [Patch mp2] Case-insensitive PerlOptions
Date Thu, 13 Jan 2005 00:50:47 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> 
>>Joe Schaefer wrote:
>>
>>>Stas Bekman <stas@stason.org> writes:
>>>
>>>
>>>>Philippe M. Chiasson wrote:
>>>
>>>[...]
>>>
>>>
>>>>>So, even thought we started talking about specifically PerlOptions, I
>>>>>wanted to get a good idea of how people felt about the rest of our
>>>>>configuration directives. Makes sense?
>>>>
>>>>Yup.
>>>
>>>+1 to case-insensitivity across the board on our httpd.conf options.
>>>I'm sure most users will like it that way, and they can well afford
>>>the tiny CPU cost involved.  Those that can't afford it should not be
>>>using .htaccess files in the first place.
>>
>>I wasn't talking about .htaccess, but real APIs like
>>modperl_config_is_perl_option_enabled(), which are affected.
> 
> 
> Oh I see that now.  Even for that, if needed we could optimize 
> the modperl_flags_lookup_* code and do away with all the strcmp 
> checks.  So I stand by my +1.

Optimise by providing another autogenerated version of lookup functions? I 
guess that can work.

It will also be inconsistent with case-insensitive functionality in the 
config files.

-- 
__________________________________________________________________
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