The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pod::Weaver::Plugin::AppendPrepend - Merge append:FOO and prepend:FOO sections in POD

VERSION

This document describes version 0.01 of Pod::Weaver::Plugin::AppendPrepend (from Perl distribution Pod-Weaver-Plugin-AppendPrepend), released on 2015-04-04.

SYNOPSIS

In your weaver.ini:

 [-AppendPrepend]
 ;exclude_modules = REGEX
 ;exclude_files = REGEX

In your POD:

 =head1 prepend:FILES

 foo

 =head1 append:COPYRIGHT AND LICENSE

 blah blah blah

In the final document, the text 'foo' will be prepended to the FILES section while 'blah blah blah' will be appended to the COPYRIGHT AND LICENSE section. The original prepend:* and append:* sections will be removed.

DESCRIPTION

This plugin searches for sections named prepend:TARGET and append:TARGET where TARGET is a section name. The text in prepend:* section will be prepended to the target section, while text in append:* section will be appended to the target section. Target section must exist.

This plugin is useful if you have a section generated by other modules but want to add some text to it.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Pod-Weaver-Plugin-AppendPrepend.

SOURCE

Source repository is at https://github.com/perlancar/perl-Pod-Weaver-Plugin-AppendPrepend.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Weaver-Plugin-AppendPrepend

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.