in reply to use Safe and CGI;

Check your error logs, or use CGI::Carp qw(fatalsToBrowser).