-
-
17 Feb 2017 13:26:29 UTC
- Distribution: Module-Install-AutoLicense
- Module version: 0.10
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (869 / 1 / 0)
- Kwalitee
Bus factor: 1- 35.90% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (27.86KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Module::Install
- Software::License
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Module::Install::AutoLicense - A Module::Install extension to automagically generate LICENSE files
SYNOPSIS
# In Makefile.PL use inc::Module::Install; author 'Vestan Pants'; license 'perl'; auto_license;
An appropriate
LICENSE
file will be generated for your distribution.DESCRIPTION
Module::Install::AutoLicense is a Module::Install extension that generates a
LICENSE
file automatically whenever the author runsMakefile.PL
. On the user side it does nothing.When
make distclean
is invoked by the author, theLICENSE
is removed.The appropriate license to determined from the meta provided with the
license
command and the holder of the license from theauthor
command.Software::License is used to generate the
LICENSE
file.COMMANDS
This plugin adds the following Module::Install command:
auto_license
-
Does nothing on the user-side. On the author-side it will generate a
LICENSE
file according to the previously suppliedlicense
command. Theholder
of the license is determined from theauthor
meta or may be specified using theholder
parameter.auto_license( holder => 'Vestan Pants and Ivor Biggun' );
It is important to note that the
auto_license
must followauthor
andlicense
commands in theMakefile.PL
( as demonstrated in the SYNOPSIS above ), otherwise the meta these commands provide will be unavailable toauto_license
. Call it a feature.
AUTHOR
Chris
BinGOs
WilliamsLICENSE
Copyright © Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
SEE ALSO
Module Install Instructions
To install Module::Install::AutoLicense, copy and paste the appropriate command in to your terminal.
cpanm Module::Install::AutoLicense
perl -MCPAN -e shell install Module::Install::AutoLicense
For more information on module installation, please visit the detailed CPAN module installation guide.