Stevan Little > Moose-Policy-0.03 > Moose::Policy::FollowPBP

Download:
Moose-Policy-0.03.tar.gz

Dependencies

Annotate this POD (1)

CPAN RT

New  1
Open  3
View/Report Bugs
Source   Latest Release: Moose-Policy-0.05

NAME ^

Moose::Policy::FollowPBP - Follow the recomendations in Perl Best Practices

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

DESCRIPTION ^

This meta-policy changes Moose's default accossor-naming behavior to follow the recommendations found in Damian Conway's book Perl Best Practices.

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.

AUTHOR ^

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE ^

Copyright 2006-2007 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: