summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-12-12 22:55:45 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2017-12-12 22:55:45 +0200
commit9c45310caac8c962d99a316a722d42874385a823 (patch)
tree1af255b9421ada5b456470aa04c0adc83c319f97
parent2317df4c4d0b22ee6ccde80fcfb2ea5229168a58 (diff)
downloadacpp-9c45310caac8c962d99a316a722d42874385a823.tar.gz
acpp-9c45310caac8c962d99a316a722d42874385a823.tar.bz2
Improve docs
-rw-r--r--lib/Apache/Config/Preproc.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Apache/Config/Preproc.pm b/lib/Apache/Config/Preproc.pm
index 78ec376..10bf4a3 100644
--- a/lib/Apache/Config/Preproc.pm
+++ b/lib/Apache/Config/Preproc.pm
@@ -368,20 +368,24 @@ B<Apache::Config::Preproc::compact> module:
Notice, that B<expand> does not need to recurse into section objects. This
is taken care of by the caller.
=head1 EXAMPLE
- my $obj = new Apache::Admin::Config::Preproc('/etc/httpd/httpd.conf',
+ my $obj = new Apache::Config::Preproc('/etc/httpd/httpd.conf',
-expand => [qw(compact include ifmodule macro)],
-indent => 4) or die $Apache::Admin::Config::ERROR;
print $obj->dump_raw
-The above program loads Apache configuration from file
+This snippet loads the Apache configuration from file
F</etc/httpd/httpd.conf>, performs all the built-in expansions, and prints
the result on standard output, using 4 character indent for each additional
level of nesting.
+
+=head1 SEE ALSO
+
+B<Apache::Admin::Config>(3).
=cut

Return to:

Send suggestions and report system problems to the System administrator.