diff -r 478ef471fb71 -r cf75cb35c083 lib/App/read_httpd_conf.pm --- a/lib/App/read_httpd_conf.pm Wed Jul 16 22:28:25 2014 +0200 +++ b/lib/App/read_httpd_conf.pm Wed Jul 16 23:37:06 2014 +0200 @@ -39,3 +39,32 @@ } 1; + +__END__ + +=head1 NAME + + App::read_httpd_conf + +=head1 SYNOPSIS + + use App::read_httpd_conf; + App::read_httpd_conf->main($file); + +=head1 DESCRIPTION + +This small package reads the apache config file and writes the parsed +and included files to the standard file descriptor. If you want to proceess +the output in your own script, do something like this: + + my $output; + open(my $fh, '>', \$output); + my $oldfh = select($fh); + App::read_httpd_conf->read_file($config)); + select($oldfh); + +=head1 AUTHOR + +Heiko Schlittermann L + +=cut