Subject: | Add license type to Makefile.PL |
Hi!
Please add the kind of license to the MakeFile.PL. This way, it shows up directly in the left side on MetaCPAN.
Here is the code:
[snip]
use ExtUtils::MakeMaker;
@extras = ();
push(
@extras,
LICENSE => 'perl_5',
) if ( $ExtUtils::MakeMaker::Version >= 6.31 );
WriteMakefile(
NAME => 'Scalar::Validation',
VERSION_FROM => 'lib/Scalar/Validation.pm', # finds $VERSION
PREREQ_PM => { 'Test::Exception' => '0'}, # or => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Scalar/Validation.pm', # retrieve abstract from module
AUTHOR => 'Ralf Peine <ralf.peine@jupiter-programs.de>') : ()),
);
[/snip]
Is there a source code repository, e.g. on GitHub?
It could be added as well:
push(
@extras,
META_MERGE => {
resources => {
repository => 'https://github.com/maxmind/geoip-api-perl',
},
},
) if ( $ExtUtils::MakeMaker::Version >= 6.46 );