If the script is properly uploaded, you can add use CGI::Carp qw(fatalsToBrowser); to the top so that you see the die message in your browser. CGI::Carp is always a good idea anyway as it makes your error logs more readable, but remember to remove the qw(fatalsToBrowser) once the script goes public as it may give a cracker valuable information on breaking your script.