in reply to Re: read database 500 error
in thread read database 500 error

When running a script as a CGI script, it needs to output headers before anything else. Please see one of the alternatives to CGI.pm for which modules you could use. As one example, you might try: use CGI::Simple;

CGI::Simple is just an old stripped version of CGI.pm. CGI.pm is king of that old gateway tech. CGI::Alternatives explains