Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Does Pod::Coverage::Moose work or am I just being obtuse?

by webfiend (Vicar)
on Aug 06, 2010 at 22:15 UTC ( #853492=note: print w/ replies, xml ) Need Help??


in reply to Does Pod::Coverage::Moose work or am I just being obtuse?

The default behavior of Pod::Coverage when deciding what to look for (in _get_syms) is to ignore imported subroutines such as those generated for Moose attributes. So even though it sees the methods associated with the attributes, it drops them.

Maybe Pod::Coverage could use a 'watchlist' argument for its constructor to explicitly specify methods that need pod entries even if they're imported from elsewhere. Then Pod::Coverage::Moose might be able to take advantage of that, sifting through class attributes to build an appropriate watch list based on those defined in the class rather than big meta-stuff like 'blessed' or 'confess'. 'IsMoose::cow'? On the watch list. 'IsMoose::meta'? Not on the watch list.

The basic problem was reported as a regression a while back.

I'll have to chew on this thought a little bit.


Comment on Re: Does Pod::Coverage::Moose work or am I just being obtuse?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2014-10-30 23:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (211 votes), past polls