in reply to CGI "uninitialized value" question

When you run the script from the command line, $ENV{QUERY_STRING} is not necessarily defined. startform() refers to QUERY_STRING if the action is unspecified.

Also, don't forget print end_html();