Hello Monks,

I use the following DOS command to create a Build.PL file:

module-starter --distro=Sudoku-Preset --builder=Module::Build --module=Games::Sudoku::Preset --ignore=manifest --license=perl --author="Klaus Wittrock" --email=Wittrock#cpan.org

Note: Since I don't know how to continue a DOS command on the next line, I actually entered this on a single line.

No config file is used.

The license line in the created Build.PL reads

    license             => 'Perl_5',

When I then run

cd Sudoku-Preset perl Build.PL

I get this message:

Nothing to enter for 'provides' field in metafile. Could not get valid metadata. Error is: Invalid metadata structure. Er +rors: License 'Perl_5' is invalid (license) [Validation: 1.4] at E:/P +rogramme(x86)/ActivePerl/lib/Module/Build/Base.pm line 4571. Could not create MYMETA files

What did I wrong? Everything works if I manually change in Build.PL

    license             => 'perl',

but I would prefer to do things right from the beginning

Windows 7 Prof

ActivePerl v5.16.3

Module::Starter v1.62

Module::Build v0.4003

Any hint is welcome. Thanks for your kind help.


In reply to [Module::Starter] question for option --license by GUIfriend

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.