Look at CGI::Application in combo with HTML::Template to eliminate some of the busy stuff in the URI and allows you to use a simple index.cgi to run the flow. Here's a nice little tutorial.
—Brad "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
| [reply] [d/l] |
Mason, or other things allow what you're asking.
A simple fix, rather than duplicating the code, see if you can make 'search.pl' your index page. There is nothing magic about index.html, it's just in many cases, the default page shown if someone requests a directory rather than an absolute file. On most hosts you should be able to change it so that the index is whatever file you like.
| [reply] |