Pod::Coverage::Moose - Pod::Coverage extension for Moose
version 0.08
use Pod::Coverage::Moose; my $pcm = Pod::Coverage::Moose->new(package => 'MoosePackage'); print 'Coverage: ', $pcm->coverage, "\n";
When using Pod::Coverage in combination with Moose, it will report any method imported from a role. This is especially bad when used in combination with Test::Pod::Coverage, since it takes away its ease of use.
To use this module in combination with Test::Pod::Coverage, use something like this:
use Test::Pod::Coverage; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::Moose'});
This is the package used for inspection.
Boolean flag to indicate that requires $method declarations in a Role should be trusted.
requires $method
Moose meta object.
Initialises the internal Pod::Coverage object. It uses the meta object to find all methods and attribute methods imported via roles.
Delegated to the traditional Pod::Coverage object are:
The constructor will only return a Pod::Coverage::Moose object if it is invoked on a class that can a meta method. Otherwise, a traditional Pod::Coverage object will be returned. This is done so you don't get in trouble for mixing Moose with non Moose classes in your project.
Pod::Coverage::Moose
can
meta
Moose
Pod::Coverage,
Test::Pod::Coverage
Bugs may be submitted through the RT bug tracker (or bug-Pod-Coverage-Moose@rt.cpan.org).
There is also a mailing list available for users of this distribution, at http://lists.perl.org/list/moose.html.
There is also an irc channel available for users of this distribution, at #moose on irc.perl.org.
#moose
irc.perl.org
Robert 'phaylon' Sedlacek <rs@474.at>
Karen Etheridge <ether@cpan.org>
Vyacheslav Matyukhin <me@berekuk.ru>
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2007 by Robert 'phaylon' Sedlacek.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pod::Coverage::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Coverage::Moose
CPAN shell
perl -MCPAN -e shell install Pod::Coverage::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.