From: William M. <wi...@kn...> - 2004-01-13 13:47:32
|
On Mon, Jan 12, 2004 at 10:05:00PM -0800, Kevin Goess wrote: > Is this a possibility for you? From 'perldoc mod_perl' > > ~ PerlRequire perl-scripts/script_to_load_at_startup.pl Ahh, I didn't think of that one! Good idea. I'll do some more research and see what I can find out. > | So far, I have not noticed any problems with > | repeatedly calling init on each cgi access. > > For myself, I won't say that doing it that way will definitely cause > problems, but I won't endorse it, either. I'm going to play it > conservative and just say, "Your mileage may vary." Calling init() with > the same config information isn't the best, performance-wise, and it's > kind of outside the bounds of our design/conception. Unless Mike has > something better to say about it, that is... Yeah, I can understand the performance hit. I may need to devise a means of storing the log4perl object into memory and drawing it from there. That's a bit beyond my current level of mod_perl skills so I'll need to work on it. I'll try over at the CGI::App list to see if anyone has a solution. Regards, William -- Knowmad Services Inc. http://www.knowmad.com |