http://qs321.pair.com?node_id=824907


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

Thanks but even stripping it down to not running through Test::Pod::Coverage is still not behaving as I'd expect from the docs. This is the plain PCM behavior-

perl -MPod::Coverage::Moose -le '$pcm = Pod::Coverage::Moose->new(pack +age => "IsMoose"); print $pcm->uncovered' # Prints nothing...

I expect it to show moo and cow both as uncovered. :( I really like the idea of this module and I'd love to be able to get it to give "real" feedback about Moose attributes/methods.

Replies are listed 'Best First'.
Re^3: Does Pod::Coverage::Moose work or am I just being obtuse?
by Khen1950fx (Canon) on Feb 24, 2010 at 08:07 UTC
    I been experimenting with this all day. What has been happening, for me at least, is that I've been adding things that I knew were covered then I'd call $pcm->covered. The module prints out all the methods that are covered and returns 1. On the other hand, when I call $pcm->uncovered on the things I knew to be uncovered, the module returned undef---it didn't print. I was expecting it to return the uncovered handles. The joys of "PEBKAC hell":).