http://www.perlmonks.org?node_id=751229


in reply to Re: Prompted to Open or Save CGI Program -- configuration issue?
in thread Prompted to Open or Save CGI Program -- configuration issue?

<Directory "PATH FOR YOUR CGI SCRIPTS"> Options ExecCGI SetHandler cgi-script </Directory>

is instructing apache to treat the files found at that particular directory as Perl scripts. So, write there the location of the scripts, and make sure they are executable.

my file doesn't have the <virtualhost *> command
Maybe your httpd.conf doesn't have the virtualhost directive but, if you look at the dir where your httpd.conf file is, you will find a few directories like vhosts, extra, or other ..... Peeking into the files in there you'll probably find that directive. There are different ways to configure vhosts, I suggest you read some introductory material on Apache.