NAME

Pod::Simple::Role::StripVerbatimIndent - Strip indentation from verbatim sections sanely

SYNOPSIS

package MyPodParser;
with 'Pod::Simple::Role::StripVerbatimIndent;

my $parser = MyPodParser->new;
$parser->output_string(\my $html);
$parser->parse_string_document($pod);

DESCRIPTION

Strips the indentation from verbatim blocks, while not corrupting tab indents.

The shortest indentation in the verbatim block (excluding empty lines) will be stripped from all lines.

By default, using this role will disable tab expansion. It can be re-enabled using expand_verbatim_tabs

SUPPORT

See MetaCPAN::Pod::HTML for support and contact information.

AUTHORS

See MetaCPAN::Pod::HTML for authors.

COPYRIGHT AND LICENSE

See MetaCPAN::Pod::HTML for the copyright and license.