Dist::Zilla::Role::LicenseProvider - something that provides a license for the dist
version 5.045
Plugins implementing this role must provide a provide_license method that will be called when setting the dist's license.
provide_license
If a LicenseProvider offers a license but one has already been set, an exception will be raised. If provides_license returns undef, it will be ignored.
provides_license
provide_license({ copyright_holder => $holder, copyright_year => $year })
Generate license object. Returned object should be an instance of Software::License.
Plugins are responsible for injecting $copyright_holder and $copyright_year arguments into the license if these arguments are defined.
$copyright_holder
$copyright_year
Ricardo SIGNES 🎃 <rjbs@cpan.org>
This software is copyright (c) 2016 by Ricardo SIGNES.
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 Dist::Zilla, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla
CPAN shell
perl -MCPAN -e shell install Dist::Zilla
For more information on module installation, please visit the detailed CPAN module installation guide.