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


Moose-Policy documentation  | view source Contained in the Moose-Policy distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

DEPRECATION NOTICE

Top

Moose::Policy is deprecated.

Use MooseX::FollowPBP instead.

DESCRIPTION

Top

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

BUGS

Top

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

Top

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

Top


Moose-Policy documentation  | view source Contained in the Moose-Policy distribution.