equal
deleted
inserted
replaced
37 } |
37 } |
38 return 1; |
38 return 1; |
39 } |
39 } |
40 |
40 |
41 1; |
41 1; |
|
42 |
|
43 __END__ |
|
44 |
|
45 =head1 NAME |
|
46 |
|
47 App::read_httpd_conf |
|
48 |
|
49 =head1 SYNOPSIS |
|
50 |
|
51 use App::read_httpd_conf; |
|
52 App::read_httpd_conf->main($file); |
|
53 |
|
54 =head1 DESCRIPTION |
|
55 |
|
56 This small package reads the apache config file and writes the parsed |
|
57 and included files to the standard file descriptor. If you want to proceess |
|
58 the output in your own script, do something like this: |
|
59 |
|
60 my $output; |
|
61 open(my $fh, '>', \$output); |
|
62 my $oldfh = select($fh); |
|
63 App::read_httpd_conf->read_file($config)); |
|
64 select($oldfh); |
|
65 |
|
66 =head1 AUTHOR |
|
67 |
|
68 Heiko Schlittermann L<hs@schlittermann.de> |
|
69 |
|
70 =cut |