You need to build/install the Perl-side of mod_perl, if you want to use and include Perl programming language support in your Apache web server. Move into the new mod_perl source directory cd../mod_perl-1.24/
and type the following commands on your terminal:

Once you have included in your Apache source the third party modules that you want to support and use, it is time to compile and install it into your Linux system. The last step is to move into the new Apache source directory
cd../apache_1.3.12/ and type the following commands on your terminal depending on what you want to install with Apache for example it could you want to Build/Install Apache with/without
mod_ssl +- PHP4 and/or mod_perl etc.

module mod_perl for better security and performance than the default cgi scripts.

disable module status

disable module userdir

disable module negotiation

disable module autoindex

disable module asis

disable module imap

disable module env

disable module actions

:
It's important to note that removing all unrequired modules during the configure time will improve the performance of your Apache Web Server. In our configuration above, we've removed the most unused modules both to lower the load
operation, and limit the security risks in our Apache web server. See your Apache documentation for information on each one.