Issac Goldstand wrote:

> Is there a way of doing configuration work (the equivalent of <Perl> 
> sections) from within modules?  I ask both for subroutines which are 
> called at server startup (from mod_perl_start.pl) and from other handlers...

Yup, just modify things in Apache::ReadConfig package. The only magical 
thing about <Perl></Perl> is that it declares:

package Apache::ReadConfig;

for you...

it's explained here:
http://perl.apache.org/guide/config.html#Apache_Configuration_in_Perl
(and I think the eagle book):
_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to