In order for cgi scripts to function, the correct path to perl must be listed in the top line of the cgi script.