X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint%2FClass.pm;h=bbd4c2eca0908957d56f3bd0f9a73aa83572c1b1;hb=9e4ed568f2e5c1041e6fea8d0cbde420562ab5df;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..bbd4c2e 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.84'; $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