Apache::Config::Preproc::ifmodule - expand IfDefine sections
$x = new Apache::Config::Preproc '/path/to/httpd.conf', -expand => [ qw(ifdefine) ]; $x = new Apache::Config::Preproc '/path/to/httpd.conf', -expand => [ { ifdefine => [qw(SYM1 SYM2)] } ];
Eliminates the Define and UnDefine statements and expands the <IfDefine> statements in the Apache configuration parse tree. Optional arguments to the constructor are treated as the names of symbols to define (similar to the httpd -D options).
To install Apache::Config::Preproc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Config::Preproc
CPAN shell
perl -MCPAN -e shell install Apache::Config::Preproc
For more information on module installation, please visit the detailed CPAN module installation guide.