Because mod_perl gives us access to the internals of Apache, the things that can be done with mod_perl are almost endless. This list gives you a flavor.
Enhance access control during the access control phase.
Perform specific authentication above and beyond .htaccess during the authentication phase.
Enhance logging during the logging phase.
Use Perl Server Side Includes, which resemble the basic Apache Server Side Includes (see Chapter 9).