Hi there,
I have a couple of package globals that I'd like to populate with
information from a database when I fire up the web server in order to take
advantage of memory sharing (they'll be used every time the program runs
and I don't want to run a db query every time). I thought it might be as
simple a declaring the variables and populating them the first run of the
program but that's no good.
I also thought that I could just run a separate query against the db
from startup.pl but that fails because the user the connection is
defaulting to is root even though I've specified username and password.
Anybody have some advice or techniques?
FYI:
RH Linux 6.2
Apache 1.3.12
mod_perl 1.24
DBD::Informix 1.00
Informix 9.20
TIA,
Jeff