wlh4 has asked for the wisdom of the Perl Monks concerning the following question:
I am running Mac OS X 10.9.4 with perl 5.18...
Learning to use module-starter as described in Intermediate Perl chapter 12...
Upon running module-starter --module=Animal with author and email and verbose in a config file,
then running perl Build.PL
an error is generated based upon the license option, as follows:perl Build.PL Could not get valid metadata. Error is: Invalid metadata structure. Errors: License 'Artistic_2_0' is invalid (license -> Artistic_2_0) [Validation: 2] at /usr/local/perl5/perlbrew/perls/perl5.18.2/lib/site_perl/5.18.2/Module +/Build/Base.pm line 4558. Could not create MYMETA files Creating new 'Build' script for 'Animal' version '0.01'
The same thing happens if I put a "license:perl" option in the config file. The same thing happens if I put --license=perl on the command line.
However, if I manually modify the Build.PL script to say license => 'perl', then running perl Build.PL works without error. Any thoughts on why this is happening? The module-starter program is creating an invalid license specification.Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem Using module-starter ( Artistic_2_0 Animal )
by Anonymous Monk on Jul 16, 2014 at 07:26 UTC | |
by wlh4 (Novice) on Jul 17, 2014 at 01:12 UTC |