Posted on 2010-05-24 17:16:18.964477-07 by y25zhao
Trying to load a list of info in memory and shared by other module
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
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.