|
Hi all,
I'm new to perl. And I'm trying to make the following work by using mod_perl with apache2:
1. A module, is loaded at starting point, tries to connect to the database and retrieve a list of information back.
2. This "list" will be stored somewhere in memory so that other modules could get access to it.
3. If the db connection failed at starting point, apache should be forced to shut down.
I'm wondering if there is a way to accomplish this task. Any help would be greatly appreciated. Thanks.
Regards,
Allen |