And now when a user runs ./Build test, the config files are properly created. For comparison, why don't you post what would need to be added to a makefile to support something similar and note which operating systems it works on, which make distribution it works on, which versions of that distribution may have problems, etc. Heck, most of us can't do that because we don't know make or, if we do, we don't know the many corner cases involved. Most of us know Perl, though.

Ugh, tell me about it. You should see the hack that I had to do to get MakeMaker to let me install a config file for the Business::Shipping CPAN module. Here's the Makefile.PL. Warning: it's really ugly.

When I wrote it, Module::Build didn't have very good CPAN compatibility. But now that it does, perhaps I'll find enough round tuits to switch to M::B. Although I haven't done it, I'm just certain that it will come out a lot more elegant than the E:MM code.

-Dan


In reply to Re: Why Module::Build? by danb
in thread Why Module::Build? by Ovid

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.