From: Dave Rolsky Date: Sat, 17 Sep 2011 02:28:57 +0000 (-0500) Subject: Doc UNIVERSAL change in Delta X-Git-Tag: 2.0300~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04dacf19339294fe97ed2051fbc81d1b2a19e1e4;p=gitmo%2FMoose.git Doc UNIVERSAL change in Delta --- diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index b5003d2..763e748 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -40,6 +40,14 @@ because any value that passes a subtype constraint must also pass a parent constraint. This has changed so that I of its member types must be a subtype of the specified type. +=item Methods defined in UNIVERSAL now appear in the MOP + +Any method introspection methods that look at methods from parent classes now +find methods defined in UNIVERSAL. This includes methods like C<< +$class->get_all_methods >> and C<< $class->find_method_by_name >>. + +This also means that you can now apply method modifiers to these methods. + =item Hand-optimized type constraint code causes a deprecation warning If you provide an optimized sub ref for a type constraint, this now causes a