Re: dir_config at startup: I know what doesn't work, so what does?

2001-01-24 Thread Doug MacEachern
On Mon, 22 Jan 2001, Christopher L. Everett wrote: variable at server startup, using my startup.pl: ... $config{DBI_DSN} = Apache-server-dir_config('DBI_DSN'); ... PerlSetVar DBI_DSN "DBI:mysql:exchange_db" is your PerlSetVar before or after PerlRequire for startup.pl? it must come before

dir_config at startup: I know what doesn't work, so what does?

2001-01-21 Thread Christopher L. Everett
All: I want to specify things like MySQL login info, names of tables containing user login information. I'd like to do it by putting it all into a class variable at server startup, using my startup.pl: my $Account_Interface = $Exchange::MyAccount-init; Then inside Exchange::MyAccount::init,

Re: dir_config at startup: I know what doesn't work, so what does?

2001-01-21 Thread Perrin Harkins
"Christopher L. Everett" wrote: So what I'd like to know is: is there any way of picking up configuration info from the httpd-perl.conf at server startup? If you don't need to have different configurations for each virtual host or directory, you could just use globals. Perl