Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Venerable Monks,

Module::Starter::Simple.pm has a subroutine _get_licenses_mapping that lets the module developer select from perl, mit, bsd, add other license text.

How can I plugin my own license and copyright text (tailored to my employers standard commercial wording)? I don't want to edit Module::Starter::Simple.pm directly. (That way would be easy, but surely is heretical.)

I've struggled thru some postings here on plugins and (brian d foy's posting on) the template toolkit. brian's discussion seemed to use Make, and I cannot see if it will work with Build, which I prefer. Much of this material is very new and I do not understand the true path to enlightment.

I am a recent convert to module-starter and Module::Build, and (very recently) to OO Perl. So, if Monks recommend I try sub-classing methods like _get_licenses_mapping, I'd barely know where to start. I have just successfully applied Test::Perl::Critic (to brutal severity), Test::Kwalitee, and Test::MockObject. These are elements of a very impressive toolkit.

But I need to find a way to tailor the module framework to suit my company and project before trying to persuade my colleagues to adopt these brilliant development tools.

The default POD from Module::Starter is not compliant with default perlcritic policies. I've had to manually create the missing POD sections in my module. To fix this, should I switch to Module::Starter::PBP for future module creation in gvim? I appreciate that it is new so may have bugs -- one posting discussed a possible bug in handling spaces in pathnames.


In reply to Module::Starter (or ::PBP) and Module::Build -- how do I configure the License and Copyright? by Cuhulain

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!
  • 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (18)
    As of 2015-07-31 13:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (277 votes), past polls