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=a3645e1eaaf3d8edcbfef711f3c4a24ac74ac22c;hp=f6d7aaf1b1a9a24b6e7b744bc70f1f65cb576fb8;hb=87f1f3d2110a14bb0bb9366c476505982afe95bd;hpb=c9cc688441831c86cb270b4a12ccf61e0bcd821a diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index f6d7aaf..a3645e1 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -557,6 +557,8 @@ Returns the names of all the type constraints. =item C<< enum (\@values) -> Mouse::Meta::TypeConstraint >> +=item C<< coerce $type => from $another_type, via { }, ... >> + =back =over 4