in reply to Application just dies

If you have access to the server logs, you should check that for errors after running your script. You should have log access somewhere in your Control Panel, or server-computer's filesystem.

You can also put

use CGI::Carp qw(fatalsToBrower);
at the top of the cgi script. It is a security risk though to send errors over http, so remove that line when you get it working.

I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness