O masters of distribution fu:

I have a module (Data::Random) that is using Module::Install. (Yes, yes, I really should upgrade it to Dist::Zilla, but I don't have time right now. I will soon, honest!)

In the meantime, I've tried to get MI to generate a META.json file. I can do this by using Module::Install::JSONMETA. (And, yes, I know that the module is deprecated because it claims it is--or soon will be--no longer necessary, but I can't seem to get the META.json file any other way.) So all that works fine, except that, apparently, something in there is requiring YAML::Tiny during installation. I'm not sure why that is. Seems to me like that should be required on my (author's) side, not on the client (installer's) side.

But, anywho, now I have a couple of open RT tickets about how it won't install if there's no YAML::Tiny on the client side, and the solution seems to be just to get YT jammed into the inc/ dir that gets bundled up with my distro. But I can't figure out how to do that.

Anybody know what I need to do here? That is, either how I can get YAML::Tiny installed into inc/, or, failing that, how I can get MI to stop requiring YT during installation, or, failing that, how I can get MI to generate a META.json without using MI::JSONMETA. TIA!


In reply to Convincing Module::Install to put stuff in inc/ by Oberon

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.