in reply to Perl/CGI Uploading file to the server using a upload hook is failing intermittently
If uploads failed, CGI stores errors in cgi_error, so if you used fatalsToBrowser you can simply die $q->cgi_error