Check out Apache::StatINC, it does exactly what you're looking for. Add it as a PerlInitHandler in httpd.conf, and any modules on @INC will be re-loaded when they change.
Use it in combination with a "startup.pl" script in httpd.conf that adds any custom paths to @INC via "use libs" and your CGI::Application modules will be reloaded automatically. The extra checking imposes a very small performance penalty, so you should probably turn it off on production servers. -DJCP On Fri, 2003-03-28 at 06:02, Stefan Svensson wrote: > I develop an application with HTML::Tempmlate and CGI::Application under > mod_perl. However, it's almost impossible test the script constantly > during development, since it seems as if only the httpd process > currently processing my request recompiles the script. The other httpd > children does not seem to update the cached image. > > The result is completely unpredictable. I don't know which version of > the script is executed for every request - the last one, or the one I > had ten minutes ago. I have to restart httpd to clear all mod_perl caches. > > There must be something I have missed. I have looked through the man > pages, I have searched the Internet, looked through FAQ:s - but I find > nothing. > > Please excuse the fact that this is slightly off topic, but I just > couldn't come up with any more place to look for more information. > > Stefan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Html-template-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/html-template-users -- Dan Collis Puro <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
