From: Chris Prather Date: Fri, 27 Mar 2009 21:56:05 +0000 (-0400) Subject: record changes for duck_type X-Git-Tag: 0.73_01~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=39ab7714ea8ca75042154b7738ad1af6cf11c935;p=gitmo%2FMoose.git record changes for duck_type --- diff --git a/Changes b/Changes index c7f6c75..550bfbc 100644 --- a/Changes +++ b/Changes @@ -1,12 +1,17 @@ Revision history for Perl extension Moose -0.75 +0.74 * Moose::Meta::Method::Accessor - If an attribute had a lazy default, and that value did not pass the attribute's type constraint, it did not get the message from the type constraint, instead using a generic message. Test provided by perigrin. + * Moose::Util::TypeConstraints + - Add duck_type keyword. It's sugar over making sure an object + can() a list of methods. (perigrin) + - add tests and documentation (perigrin) + 0.73 Fri, March 29, 2009 * No changes from 0.72_01. diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index 8194760..dfa8486 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -16,6 +16,12 @@ feature. If you encounter a problem and have a solution but don't see it documented here, or think we missed an important feature, please send us a patch. +=head1 Version 0.74 + +Added a C keyword to L to make +integration with non-Moose classes easier. It simply checks if $obj->can() +a list of methods. + =head1 Version 0.73 Calling C with a name as the only argument now throws an