Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Completely forgot how questions were organized on the site, so this is reposted from elsewhere.

I like Test::Pod::Coverage. I like Moose. I like to document all of my public interfaces, including attributes. But Test::Pod::Coverage doesn't seem to know about stuff like the attributes of my Moose objects. I want my pod tests to be really mean, and let me know when I forgot to document anything public.

Is there a way to test for documentation of Moose attributes, or must I let my own absent-minded conscience be my guide?

Update: In my excitement over having a Perl question, I forgot about that great resource called Google. A simple search led me to Pod::Coverage::Moose in about 0.1 seconds, compared to several minutes posting and reposting. Let that be a lesson to the rest of you.

Update Part 2 - The Next Generation As pointed out by Your Mother, not quite. Pod::Coverage::Moose a little buggy on the exact thing I was looking for. So maybe it wasn't such a bad question after all.

In reply to How can I test for Pod coverage of my Moose attributes? by webfiend

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-18 13:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found