On Tue, 27 Apr 2004, Mark Stosberg wrote:

> Are there any other tips to minimize mod_perl reloading, specific to
> CGI::App? In general, it seems like CGI::App is already designed to
> minimize this by putting nearly all code in modules.

Yes, CGI::App is designed to avoid tedious mod_perl-related Apache
restarts - it's designed to run under mod_cgi!  We setup our Apache
configs to switch from handling .pl files with mod_perl to mod_cgi
when the CGI_MODE environment variable is set.  Developers work in
this mode and don't have to restart the server to see changes.  In
production this variable isn't set and the code runs under mod_perl.
Of course it's necessary to test the code under mod_perl during
development, but that's what beta test servers are for.

-sam


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to