From: Shawn M Moore Date: Tue, 28 Apr 2009 09:42:39 +0000 (-0400) Subject: More doc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3771c01a14be7c6d54aa6f612e515850c74965c5;p=gitmo%2FPerl-Critic-Dynamic-Moose.git More doc --- diff --git a/lib/Perl/Critic/Policy/DynamicMoose.pm b/lib/Perl/Critic/Policy/DynamicMoose.pm index 140bf82..ebe4465 100644 --- a/lib/Perl/Critic/Policy/DynamicMoose.pm +++ b/lib/Perl/Critic/Policy/DynamicMoose.pm @@ -104,9 +104,12 @@ Perl::Critic::Policy::DynamicMoose =head1 DESCRIPTION +This documentation is written for policy authors. You may instead want +L. + This class is a base class for dynamic Moose policies. This class facilitates -critiquing metaclasses (instead of the usual PPI documents). For example, the -L policy critiques +critiquing metaclasses (instead of the usual PPI documents). For example, +L critiques metaclasses by checking whether any of their attributes' builders do not start with an underscore. Due to the very dynamic nature of Moose and metaprogramming, such policies will be much more effective than static analysis