X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FUtil%2FTypeConstraints.pm;h=71a0c72ea149fe1c0f3259d6e3c96f12f0cc4a94;hp=5b3130a6f9e8d13bfcf9f6f0712572d70d86f560;hb=deb9a0f32002cd07012c50884a227335b93f1449;hpb=df77fd72ab8342a9406153b271fa8358e1a5fcae diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index 5b3130a..71a0c72 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -74,7 +74,7 @@ BEGIN { ); } - sub optimized_constraints { + sub optimized_constraints { # DEPRECATED Carp::cluck('optimized_constraints() has been deprecated'); return \%TYPE; } @@ -186,7 +186,7 @@ sub role_type { ); } -sub typecast_constraints { +sub typecast_constraints { # DEPRECATED my($class, $pkg, $type, $value) = @_; Carp::croak("wrong arguments count") unless @_ == 4;