Apache::httpd_conf - Generate an httpd.conf file
use Apache::httpd_conf (); Apache::httpd_conf->write(Port => 8888);
The Apache::httpd_conf module will generate a tiny httpd.conf file, which pulls itself back in via a <Perl> section. Any additional arguments passed to the write method will be added to the generated httpd.conf file, and will override those defaults set in the <Perl> section. This module is handy mostly for starting httpd servers to test mod_perl scripts and modules.
write
Doug MacEachern
mod_perl(3), Apache::PerlSections(3)
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.