in reply to Single CGI script for submission,processing and displaying of results
Check out the CGI module it shows how to do something similar to what you want. And try this page for more information on CGI.pm.
In Section
Seekers of Perl Wisdom
in reply to Single CGI script for submission,processing and displaying of results