X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint%2FClass.pm;h=cb37cf8509b498da010ef74b91868d3c14a37c1d;hb=75d2da3428d70afc00efb0f295fd0656a05d6b9f;hp=1c26e78cb9dbbe284e90a813d0a32e8183093cd1;hpb=d03bd989b97597428b460d7f9a021e2931893fa0;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/TypeConstraint/Class.pm b/lib/Moose/Meta/TypeConstraint/Class.pm index 1c26e78..cb37cf8 100644 --- a/lib/Moose/Meta/TypeConstraint/Class.pm +++ b/lib/Moose/Meta/TypeConstraint/Class.pm @@ -7,7 +7,7 @@ use metaclass; use Scalar::Util 'blessed'; use Moose::Util::TypeConstraints (); -our $VERSION = '0.75_01'; +our $VERSION = '0.77'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -179,6 +179,12 @@ as its parent. Note that it does I return a C object! +=item B<< $constraint->get_message($value) >> + +This is the same as L except +that it explicitly says C was checked. This is to help users deal +with accidentally autovivified type constraints. + =back =head1 BUGS