Dan Horne wrote:
You'll need to need to put your code in a while loop (untested as I use
CGI::Application::Dispatch, but it should give you the right idea):

use WebApp;
use CGI::Fast();
while (my $q = new CGI::Fast) {
  my $webapp = WebApp->new(QUERY => $q);
  $webapp->run();
}

With the first call your code gets compiled and cached, but after that you
should see a huge improvement in speed


I tried that. It serves my main page fine but any other runmode gives me a not-found error.

Robert


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
             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