in reply to Re^2: CGI and securityin thread CGI and security
One side note: CGI::Carp::warningsToBrowser might be worth looking into.