From: gfx Date: Mon, 22 Feb 2010 06:16:05 +0000 (+0900) Subject: Mention to MouseX::NativeTraits X-Git-Tag: 0.50_03~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=4fbbc6564dcc9332bb0c8dc073e66fb4d82fdf9d;hp=6fffa61704e072b2248126490db2851343413d11 Mention to MouseX::NativeTraits --- diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index aed0492..75de0f6 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -41,7 +41,7 @@ The sugary API is highly compatible with Moose. =head3 Meta object protocols -Any MOP in Mouse has no attributes. +Any MOP in Mouse has no attributes by default. For this reason, C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. B. @@ -59,6 +59,14 @@ Role exclusion, C, is not implemented. C<< use Mouse -metaclass => ... >> are not implemented. Use C<< use Mouse -traits => ... >> instead. +=head3 Mouse::Meta::Attribute::Native + +Native traits are not supported directly, but C is +available on CPAN. Once you have installed it, you can use it as the same way +in Moose. That is, native traits are automatically loaded by Mouse. + +See L for details. + =head2 Notes about Moose::Cookbook Many recipes in L fit L, including: