Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853492]
shmem is grabbed by nostalgia for Bolivia
[erix]: aah, ok.
[erix]: oh well, in each life some rain must fall
[erix]: if you're interested in tsv file reading in pg, look at file_fdw
[erix]: aka: create extension if not exists file_fdw;

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-02-23 15:26 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (302 votes). Check out past polls.