X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FPolicy.pm;h=14bdb668e85c6fb45a4db97aba0220237ac0a9b2;hb=cdaa4ee1af431df08155781b9d2f16d3fc872b06;hp=1ca2179d3d37fc0c8bedac69907587003e5e332a;hpb=bae6d4c347ee9329ba96744f33fc1784eb85fcc2;p=gitmo%2FMoose-Policy.git diff --git a/lib/Moose/Policy.pm b/lib/Moose/Policy.pm index 1ca2179..14bdb66 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.04'; 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(); @@ -120,7 +120,7 @@ itself to allow Moose policies to be inherited. =head1 THE POLICY -A Policy is set by passing C a package name. This +A Policy is set by passing C a package name. This package is then queried for what metaclasses it should use. The possible metaclass values are: