On Thu, 2006-08-03 at 08:47 +0300, Vladimir S. Tikhonjuk wrote:
>     Well, now I'll try to explain why I have asked such question. I have
> startup.pl with connect_on_init dunction.
> Also, I want to use Apache::AuthDBI. And I want options for
> Apache::DBI->connect(...) to be stored into httpd.conf
> or another but the only place.

In httpd.conf:

<Perl>
%MyConfig::DBI_CONNECTION_OPTIONS = (password => 'blah', etc.);
</Perl>

Then just access that variable where you need it.

- Perrin

Reply via email to