Pod::Weaver::Section::ReplaceLegal - Add or replace a COPYRIGHT AND LICENSE section.
version 1.00
This section plugin provides the same behaviour as Pod::Weaver::Section::Legal but with the Pod::Weaver::Role::SectionReplacer role applied.
It will produce a hunk of Pod giving the copyright and license information for the document, like this:
=head1 COPYRIGHT AND LICENSE This document is copyright (C) 1991, Ricardo Signes. This document is available under the blah blah blah.
This plugin will do nothing if no license input parameter is available. The license is expected to be a Software::License object.
license
In addition to the standard Pod::Weaver::Section::Legal behaviour, you may customize the behaviour of Pod::Weaver::Section::ReplaceLegal with the following options in your weaver.ini:
weaver.ini
You may supply a copyright year, to be used by Software::License via the year parameter.
year
The year may be a number or it may be an arbitrary string.
Within any string the word 'current' will be replaced by the current year.
For example in your weaver.ini:
[ReplaceLegal] year = 2005-current
This will, in the year 2010, produce the year string 2005-2010 for use within the Software::License object.
Sam Graham <libpod-weaver-pluginbundle-replaceboilerplate-perl BLAHBLAH illusori.co.uk>
This software is copyright (c) 2010 by Sam Graham <libpod-weaver-pluginbundle-replaceboilerplate-perl BLAHBLAH illusori.co.uk>.
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::PluginBundle::ReplaceBoilerplate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Weaver::PluginBundle::ReplaceBoilerplate
CPAN shell
perl -MCPAN -e shell install Pod::Weaver::PluginBundle::ReplaceBoilerplate
For more information on module installation, please visit the detailed CPAN module installation guide.