in reply to Re^2: How to Debug the CGI Codes
in thread How to Debug the CGI Codes

To handle warnings, you have to call the warningsToBrowser subroutine with a true argument. See documentation of CGI::Carp.