X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FPolicy.pm;h=7340f44bd5e79f7ce088f648005d961ce0d0a4d1;hb=61b270e45616813d5dbca23f559f296b16b9a634;hp=f3110f8b6404ca6394d9780dc88a9f0be312e8d3;hpb=50e80884ed20d22bde2f43dcef20f1d9f49c7460;p=gitmo%2FMoose-Policy.git diff --git a/lib/Moose/Policy.pm b/lib/Moose/Policy.pm index f3110f8..7340f44 100644 --- a/lib/Moose/Policy.pm +++ b/lib/Moose/Policy.pm @@ -1,7 +1,7 @@ package Moose::Policy; use Moose 'confess', 'blessed'; -our $VERSION = '0.03'; +our $VERSION = '0.05'; our $AUTHORITY = 'cpan:STEVAN'; sub import { @@ -13,7 +13,7 @@ sub import { # otherwise require it ... eval { Class::MOP::load_class($policy) }; confess "Could not load policy module '$policy' because : $@" - if $@; + if $@; } my $package = caller(); @@ -66,6 +66,17 @@ Moose::Policy - Moose-mounted police # Foo now has (get, set)_bar methods as well as get_baz +=head1 DEPRECATION NOTICE + +B. + +L replaces the L module. The +other policies included in this distribution do not yet have standalone MooseX +modules, as of November, 2010. + +This module has not passed its tests since Moose 1.05, and will probably not +be fixed. + =head1 DESCRIPTION This module allows you to specify your project-wide or even company-wide