i am trying to run a cgi perl script to process info from a html form and i keep getting

WEB SERVER ERROR: the resource that you tried to reach: [pathname], caused a program to run, which did not execute as intended.

i have checked my permissions and my syntax umpteen times, as well as my pathname and filename. i know it's a long shot, but if anyone has any ideas as to where i might look for an error, you just might save an otherwise nice girl with a promising future from going to the crazy house...