On Sun, 14 May 2000, svante [iso-8859-1] sörmark wrote:

> hi all,
> 
> what i'd like to do is "pre-initialize" my DBI connections from whithin
> my PerlHandler's BEGIN block. 
> 
> something like this:
> BEGIN {
>       if ( Apache->dir_config('CONNECT_ON_INIT') {
>               Apache::DBI->connect_on_init(Apache->dir_config('DBI_INFO');
>       }
> }

connect_on_init was written to be a PerlChildInitHandler, it doesn't make
sense to use it anywhere else.

Reply via email to