in reply to CGI.pm POST method does not work

Have you tried  CGI::Carp qw(warningsToBrowser);? Could give you some insight in case something is happening under the hood.

Also, not entirely sure, but I think you need to call it main.cgi, and have CGI print the form.

J -