NAME
Pod::Weaver::Section::ReplaceLegal - Add or replace a COPYRIGHT AND LICENSE section.
VERSION
version 1.00
OVERVIEW
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.
CUSTOMIZATION
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
:
- year = year string
-
You may supply a copyright year, to be used by Software::License via the
year
parameter.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.
AUTHOR
Sam Graham <libpod-weaver-pluginbundle-replaceboilerplate-perl BLAHBLAH illusori.co.uk>
COPYRIGHT AND LICENSE
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.