in reply to CGI.pm POST method does not work
Also, not entirely sure, but I think you need to call it main.cgi, and have CGI print the form.