Philippe M. Chiasson wrote:
[...]
Yes, and I am planning on writing 2 subclasses to Apache::PerlSections
to handle either a namespace name, or a hash ref, as in:

package My::Config;
$Location{'/foo'} = { [...] };
@Alias = qw(/this /that);
 and
Apache::PerlSection->add_namespace("My::Config");

or

my %My::Config = (
        'Location' => { '/foo' => { [...]}},
        'Alias' => qw(/this /that),
);
 and
Apache::PerlSection->add_hash(\%My::Config);


So, in the end, we can have it all ;-) (method names subject to change though)

yay, beautiful! gozer++


and then we will deprecate Apache::ReadConfig on its own.

__________________________________________________________________
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