From: Shawn M Moore Date: Tue, 28 Apr 2009 09:04:50 +0000 (-0400) Subject: Basic doc for PPB X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=519dbfa04404e6dfc1d9d9fb60fe9ffaa6be0bef;p=gitmo%2FPerl-Critic-Dynamic-Moose.git Basic doc for PPB --- diff --git a/lib/Perl/Critic/Policy/DynamicMoose/ProhibitPublicBuilders.pm b/lib/Perl/Critic/Policy/DynamicMoose/ProhibitPublicBuilders.pm index 27a6011..69fa757 100644 --- a/lib/Perl/Critic/Policy/DynamicMoose/ProhibitPublicBuilders.pm +++ b/lib/Perl/Critic/Policy/DynamicMoose/ProhibitPublicBuilders.pm @@ -47,3 +47,19 @@ no Moose; 1; +__END__ + +=head1 NAME + +Perl::Critic::Policy::DynamicMoose::ProhibitPublicBuilders + +=head1 DESCRIPTION + +An attribute's L method is used to provide a default value +for that attribute. Such methods are rarely intended for external use, and +should not be considered part of that class's public API. Thus we recommend +that your attribute builder methods' names are prefixed with an underscore +to mark them private. + +=cut +