in reply to Let users wait for the results

Also, and slightly off topic, check out CGI::Application, and HTML::Template to add a nice structure to your application.. :-)

Rather than have two cgi files, you can have just one, and scale it easily for your web app.