Have you tried Troubleshooting Perl CGI scripts?
In reply to Re: CGI on the console by brian_d_foy in thread CGI on the console by raflach