Pod::Weaver::Section::Legal::Complicated - add a pod section with multiple authors, copyright owners and licenses in a file basis
version 1.00
In your weaver.ini
[Legal::Complicated]
This plugin is aimed at distributions that have several files, each of them with possibly different authors, copyright owners and licenses.
It will look for these values in comments of the source code (analyzed through a ppi_document) with the following form:
ppi_document
# AUTHOR: John Doe <john.doe@otherside.com> # AUTHOR: Mary Jane <mary.jane@thisside.com> # OWNER: University of Over Here # OWNER: Mary Jane # LICENSE: GPL_3
This example would generate the following POD:
=head1 Legal =head2 Authors John Doe <john.doe@otherside.com> Mary Jane <mary.jane@thisside.com> =head2 Copyright and License This software is copyright of University of Over Here, and Mary Jane, and released under the license of The GNU General Public License, Version 3, June 2007
Note that this plugin makes a distinction between the authors (whoever wrote the code), and the actual copyright owners (possibly the person who paid them to write it).
I am not a lawyer myself, any feedback on better ways to deal with this kind of situations is most welcome.
If true, it will also add the distribution license to each of the files. Defaults to false.
Sets the heading level for the legal section. Defaults to 1.
Carnë Draug <cdraug@cpan.org>
This software is Copyright (c) 2013 by Carnë Draug.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Carnë'. Assuming UTF-8
To install Pod::Weaver::Section::Legal::Complicated, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Weaver::Section::Legal::Complicated
CPAN shell
perl -MCPAN -e shell install Pod::Weaver::Section::Legal::Complicated
For more information on module installation, please visit the detailed CPAN module installation guide.