> Hi!
>
> > > Is it possible to pass variables defined with PerlSetVar to a
> > > PerlChildInitHandler ?
> > > If not, is there any other way to define variables in such a handler than
> > > hardcoding values into the .pm?
> > 
> > You can use Apache->server->dir_config() to access per-server config
> > variables.
> This doesn't work:
>  Can't locate object method "dir_config" via package "Apache::Server" 
> 
> I have tried 
> Apache->server->dir_config()
> and 
> $s=Apache->server;
> $s->dir_config;
> 
> Am I using an old version of mod_perl?
>   Perl version 5.00404 for Apache/1.3.9 (Unix) mod_perl/1.21

Yes, this feature was added in mod_perl 1.21_01

--
Eric


Reply via email to