Instead of dumping the generated Perl configuration, you may decide to store it in a file. For example, if you want to store it in httpd_config.pl, you can do the following:
<Perl> use Apache::PerlSections ( ); # code goes here Apache::PerlSections->store("httpd_config.pl"); </Perl>
You can then require( ) that file in some other <Perl>section. If you have the whole server configuration in Perl, you can start the server using the following trick:
panic% httpd -C "PerlRequire httpd_config.pl"
Apache will fetch all the configuration directives from httpd_config.pl, so you don't need httpd.conf at all.
 
Continue to: