And check the server logs if CGI::Carp doesn't help.
I think I've mentioned that once or twice already.
In reply to Re^5: CGI Login script error by Joost in thread CGI Login script error by mattdope