X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=e4f115bf2201370b8cc4fe7e86d835e8c37b61ff;hb=e229d5a947fa3a6becf4a53c368a5429868d4728;hp=db9d24c2352a255e138a9ceab8d79f5e14777f92;hpb=5176a3e41f75dc3f0de6049ac642087580f94680;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index db9d24c..e4f115b 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -30,16 +30,21 @@ This document describes Mouse version 0.42 =head1 DESCRIPTION -(TODO) +Mouse is a subset of Moose. This document describes to what extend Mouse is +compatible with Moose. =head2 Compatibility with Moose +The sugary API is highly compatible with Moose. + =head2 Incompatibility with Moose =head3 Meta object protocols -Any MOP has no attributes, so -C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. +Any MOP in Mouse has no attributes. + +And C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. +B. =head3 Mouse::Meta::Instance @@ -49,10 +54,10 @@ Meta instance mechanism is not implemented. Role exclusion, C, is not implemented. -=head3 -traits and -metaclass in Mouse::Exporter +=head3 -metaclass in Mouse::Exporter -C<< use Mouse -traits => ... >> and C<< use Mouse -metaclass => ... >> are not -yet implemented. +C<< use Mouse -metaclass => ... >> are not implemented. +Use C<< use Mouse -traits => ... >> instead. =head2 Notes about Moose::Cookbook