Apache-Config-Preproc
view release on metacpan or search on metacpan
lib/Apache/Config/Preproc/compact.pm view on Meta::CPAN
package Apache::Config::Preproc::compact;
use parent 'Apache::Config::Preproc::Expand';
use strict;
use warnings;
use Carp;
our $VERSION = '1.03';
sub expand {
my ($self, $d) = @_;
$d->type eq 'blank' || $d->type eq 'comment';
}
1;
__END__
=head1 NAME
Apache::Config::Preproc::compact - remove empty lines and comments
=head1 SYNOPSIS
$x = new Apache::Config::Preproc '/path/to/httpd.conf',
-expand => [ qw(compact) ];
=head1 DESCRIPTION
Removes empty and comment lines from the Apache configuration parse
tree.
=head1 SEE ALSO
L<Apache::Config::Preproc>
=cut
( run in 0.937 second using v1.01-cache-2.11-cpan-5623c5533a1 )