CGI::Carp might be useful for getting error messages to a place where you can see them. See the section on MAKING PERL ERRORS APPEAR IN THE BROWSER WINDOW. Something like: use CGI::Carp qw(fatalsToBrowser);.
Without log info I am just guessing, but you might check permissions, ownership, and correct path to perl.
To my surprise, I was able to read the httpd error log. It said 'Premature end of script headers' so I simply changed the 'test.cgi' permissions with the following command:
chmod 755 test.cgi
then re-executed the program. It worked perfectly.