From: Jesse Luehrs Date: Mon, 27 Sep 2010 09:25:32 +0000 (-0500) Subject: changes and delta X-Git-Tag: 1.15~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2084f68df43488985213142070ad624502a00ee;p=gitmo%2FMoose.git changes and delta --- diff --git a/Changes b/Changes index 478da96..3c821fb 100644 --- a/Changes +++ b/Changes @@ -13,6 +13,10 @@ NEXT generate non-global aliases for your traits (and allow your users to rename the aliases, etc). (doy) + * 'use Moose' and 'use Moose::Role' now accept a '-meta_name' option, to + determine which name to install the 'meta' name under. Passing 'undef' + to this option will suppress generation of the meta method entirely. (doy) + [ENHANCEMENTS] * Native Trait delegations are now all generated as inline code. This should diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index c20551f..6aef906 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -74,6 +74,16 @@ that may cause problems. As always, you are encouraged to test before deploying the latest version of Moose to production. +=item The C method + +Moose and Class::MOP have been cleaned up internally enough to make the +C method that you get by default optional. C and +C now can take an additional C<-meta_name> option, which +tells Moose what name to use when installing the C method. Passing +C to this option suppresses generation of the C method +entirely. This should be useful for users of modules which also use a C +method or function, such as L or L. + =back =head1 1.09