1. An Example

    Maybe the following is of use..

    Here's an example of a Makefile.PL that helps generate a proper META.yml..

    use ExtUtils::MakeMaker; WriteMakefile( NAME => 'WordPress::XMLRPC', VERSION_FROM => 'lib/WordPress/XMLRPC.pm', PREREQ_PM => { 'YAML' => 0, 'SOAP::Lite' => 0, 'XMLRPC::Lite' => 0, 'Smart::Comments' => 0, 'LEOCHARRE::Debug' => 0, 'LEOCHARRE::CLI2' => 0, }, LICENSE => 'perl', AUTHOR => 'Leo Charre leocharre at cpan dot org', ABSTRACT_FROM => 'lib/WordPress/XMLRPC.pod', );
    The META.yml I get is..
    --- #YAML:1.0 name: WordPress-XMLRPC version: 1.21 abstract: api to wordpress xml rpc calls author: - Leo Charre leocharre at cpan dot org license: perl distribution_type: module configure_requires: ExtUtils::MakeMaker: 0 requires: LEOCHARRE::CLI2: 0 LEOCHARRE::Debug: 0 Smart::Comments: 0 SOAP::Lite: 0 XMLRPC::Lite: 0 YAML: 0 no_index: directory: - t - inc generated_by: ExtUtils::MakeMaker version 6.48 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4

    You can browse this in the distro WordPress::XMLRPC, also note the pod.

  2. Checking What You're Getting..

    You can check what it's doing via the following.

    Once you have your distro,

    perl Makefile.PL
    make disttest
    
    # now look at the dir created mydistroname-vernum/META.yml and see if it's what you want.

    1. In reply to Re: I am not a META.yml expert..... by leocharre
      in thread I am not a META.yml expert..... by SilasTheMonk

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



    2. Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
    3. Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
    4. Read Where should I post X? if you're not absolutely sure you're posting in the right place.
    5. Please read these before you post! —
    6. 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
    7. 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;
    8. Link using PerlMonks shortcuts! What shortcuts can I use for linking?
    9. See Writeup Formatting Tips and other pages linked from there for more info.