$ cat /etc/apache2/2.2/conf.d/perl.conf
# mod_perl only provided for 32-bit, prefork MPM
<IfDefine !64bit>
<IfModule prefork.c>
LoadModule perl_module libexec/mod_perl.so
</IfModule>
</IfDefine>
<IfModule perl_module>
<Files *.pl>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
</Files>
</IfModule>
$ cat /var/apache2/2.2/htdocs/hello.pl
use CGI qw(:standard);
print header(), start_html("Hello!"), "Hello!", end_html();
$ svcadm restart apache22
$ firefox http://127.0.0.1/hello.pl
$