in reply to Finding webserver error log

I would drop cgi-lib.pl and use CGI.pm; for the error, read Ovid's Web Programming with Perl, especially section about Debugging.

Ciao, Valerio