Just an update...
I still can't get it to work. Here are my settings in the config file:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/html/securepurchasebiz/dna/pa/cgi-bin">
AllowOverride all
Options +ExecCGI
AddHandler cgi-script cgi pl
</Directory>
And here is the URl that loags from that directory:
http://www.secure-purchase.biz/dna/pa/cgi-bin/test.pl
It shows the code, instead of executing. I thought the Options+ExecCGI would take care of that?