I just added a test script for perl. Perl is enabled on the domain.
Apache conf file
Alias /cgi-bin /var/www/virtual/mysite.com/cgi-bin
<Directory /var/www/virtual/mysite.com/cgi-bin>
DirectoryIndex index.cgi index.pl
AllowOverride AuthConfig Indexes Limit Options=Indexes
AddHandler cgi-script .cgi .pl
Options +ExecCGI
</Directory>
# ls -l
total 4
-rwxr-xr-x 1 root root 37 Nov 7 10:41 test.pl
# perl test.pl
Hi there!