|
|
Choosing A Webhost: |
Re: [patch] ($r|$s)->is_hook_enabled($hook_name): msg#00127apache.mod-perl.devel
Geoffrey Young wrote:
I think we should go with get_config first of all, so we have the Apache like functionality and later on we can provide a shortcut with syntax sugar. So we start with: my $dir_cfg = $self->get_config($s, $r->per_dir_config); my $srv_cfg = $self->get_config($s); And then we can have something like headers_out-like (APR::Table) interface, though read-only. $parse_headers_is_on = $dir_cfg->perl_options->get('ParseHeaders'); $parse_headers_is_on = $dir_cfg->perl_options->{'ParseHeaders'}; %srv_perl_options = %{ $srv_cfg->perl_options() }; What do you think? __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [patch] ($r|$s)->is_hook_enabled($hook_name), Geoffrey Young |
|---|---|
| Next by Date: | Re: [patch] ($r|$s)->is_hook_enabled($hook_name), Geoffrey Young |
| Previous by Thread: | Re: [patch] ($r|$s)->is_hook_enabled($hook_name), Geoffrey Young |
| Next by Thread: | Re: [patch] ($r|$s)->is_hook_enabled($hook_name), Geoffrey Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |