Pod::Weaver::Plugin::AppendPrepend - Merge append:FOO and prepend:FOO sections in POD
This document describes version 0.01 of Pod::Weaver::Plugin::AppendPrepend (from Perl distribution Pod-Weaver-Plugin-AppendPrepend), released on 2015-04-04.
In your weaver.ini:
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.
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.
prepend:TARGET
append:TARGET
prepend:*
append:*
This plugin is useful if you have a section generated by other modules but want to add some text to it.
Please visit the project's homepage at https://metacpan.org/release/Pod-Weaver-Plugin-AppendPrepend.
Source repository is at https://github.com/perlancar/perl-Pod-Weaver-Plugin-AppendPrepend.
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.
perlancar <perlancar@cpan.org>
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.
To install Pod::Weaver::Plugin::AppendPrepend, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Weaver::Plugin::AppendPrepend
CPAN shell
perl -MCPAN -e shell install Pod::Weaver::Plugin::AppendPrepend
For more information on module installation, please visit the detailed CPAN module installation guide.