See Pod::Usage.

As a side note, at least I can't do much with phrases like "annotate their component impl with the defined argument" and "then the argument will not be injected into the class.". If you can make it more clear what it should mean (unless it applies to Pod::Usage), that can help us help you better. The terms "component" and "injection" are not well-defined when talking about Perl objects.

If you want to "enforce" parameters in a Java style, including the horrible, overly verbose and completely unhelpful backtraces, Params::Validate provides all of these features.


In reply to Re: Using PerlDoc to define the program arguments by Corion
in thread Using PerlDoc to define the program arguments by Pat Hourigan

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.