check your web server's error log for more details. If you are using apache http server, check error_log(default error log file name for linux)/error.log(default error log file name for windows) file for the error.
Thanks,
The log helped me a lot. It actually prompted what is not working in calling my perl program and what did not work inside, so that I finally made it work.