From: Matt S Trout Date: Tue, 17 Jul 2012 14:58:53 +0000 (+0000) Subject: unmark Moo and Moose as experimental since it's relatively solid now X-Git-Tag: v1.000000~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a297a9ab7f3de877a5fb2c99a7e091436473f609;p=gitmo%2FMoo.git unmark Moo and Moose as experimental since it's relatively solid now --- diff --git a/Changes b/Changes index 173eeb4..cc53ee8 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - unmark Moo and Moose as experimental since it's relatively solid now - convert isa and coerce info from external role attributes - clear method cache after metaclass generation to fix autoclean bug diff --git a/lib/Moo.pm b/lib/Moo.pm index 45d87a9..17f5226 100644 --- a/lib/Moo.pm +++ b/lib/Moo.pm @@ -254,16 +254,19 @@ Hence - Moo exists as its name - Minimal Object Orientation - with a pledge to make it smooth to upgrade to L when you need more than minimal features. -=head1 Moo and Moose - NEW, EXPERIMENTAL +=head1 Moo and Moose If L detects L being loaded, it will automatically register metaclasses for your L and L packages, so you should be able -to use them in L code without it ever realising you aren't using +to use them in L code without anybody ever noticing you aren't using L everywhere. -Extending a L class or consuming a L should also work. +Extending a L class or consuming a L will also work. -So should extending a L class or consuming a L. +So will extending a L class or consuming a L - but note +that we don't provide L metaclasses or metaroles so the other way +around doesn't work. This feature exists for L users porting to +L, enabling L users to use L classes is not a priority for us. This means that there is no need for anything like L for Moo code - Moo and Moose code should simply interoperate without problem. To @@ -271,17 +274,13 @@ handle L code, you'll likely need an empty Moo role or class consuming or extending the L stuff since it doesn't register true L metaclasses like we do. -However, these features are new as of 0.91.0 (0.091000) so while serviceable, -they are absolutely certain to not be 100% yet; please do report bugs. - If you need to disable the metaclass creation, add: no Moo::sification; to your code before Moose is loaded, but bear in mind that this switch is -currently global and turns the mechanism off entirely, so don't put this -in library code, only in a top level script as a temporary measure while -you send a bug report. +currently global and turns the mechanism off entirely so don't put this +in library code. =head1 IMPORTED METHODS