X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FPolicy%2FFollowPBP.pm;h=3e8da6ac420494924c277daccfdf196c381dd03e;hb=3d1dec0aeed65b0c5d61de697ee1250f22ab2a75;hp=0ba906bfca529765e075ffc734a6a2293657352e;hpb=461dc6d309a34d7c7ba4069f8dc79bbc0321cba7;p=gitmo%2FMoose-Policy.git diff --git a/lib/Moose/Policy/FollowPBP.pm b/lib/Moose/Policy/FollowPBP.pm index 0ba906b..3e8da6a 100644 --- a/lib/Moose/Policy/FollowPBP.pm +++ b/lib/Moose/Policy/FollowPBP.pm @@ -33,4 +33,51 @@ __END__ =pod +=head1 NAME + +Moose::Policy::FollowPBP - Follow the recomendations in Perl Best Practices + +=head1 SYNOPSIS + + package Foo; + + use Moose::Policy 'Moose::Policy::FollowPBP'; + use Moose; + + has 'bar' => (is => 'rw', default => 'Foo::bar'); + has 'baz' => (is => 'ro', default => 'Foo::baz'); + + # Foo now has (get, set)_bar methods as well as get_baz + +=head1 DEPRECATION NOTICE + +B. + +Use L instead. + +=head1 DESCRIPTION + +This meta-policy changes Moose's default accessor-naming behavior to +follow the recommendations found in Damian Conway's book I. + +=head1 BUGS + +All complex software has bugs lurking in it, and this module is no +exception. If you find a bug please either email me, or add the bug +to cpan-RT. + +=head1 AUTHOR + +Stevan Little Estevan@iinteractive.comE + +=head1 COPYRIGHT AND LICENSE + +Copyright 2006-2007 by Infinity Interactive, Inc. + +L + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + =cut