X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=56fd8b78028d39f2e3c69c91efe90137e457f6b8;hb=983d58a5ea543a21c48cb04311883f1b36de1874;hp=75de0f60292a1042fbfc27932d15f1da516b1360;hpb=4fbbc6564dcc9332bb0c8dc073e66fb4d82fdf9d;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 75de0f6..56fd8b7 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -2,10 +2,10 @@ package Mouse::Spec; use strict; use warnings; -our $VERSION = '0.50_02'; +our $VERSION = '0.94'; our $MouseVersion = $VERSION; -our $MooseVersion = '0.93'; +our $MooseVersion = '1.13'; sub MouseVersion{ $MouseVersion } sub MooseVersion{ $MooseVersion } @@ -19,7 +19,7 @@ Mouse::Spec - To what extent Mouse is compatible with Moose =head1 VERSION -This document describes Mouse version 0.50_02 +This document describes Mouse version 0.94 =head1 SYNOPSIS @@ -31,24 +31,31 @@ This document describes Mouse version 0.50_02 =head1 DESCRIPTION Mouse is a subset of Moose. This document describes to what extend Mouse is -compatible with Moose. +compatible (and incompatible) with Moose. =head2 Compatibility with Moose -The sugary API is highly compatible with Moose. +=head3 Sugary APIs -=head2 Incompatibility with Moose +The sugary APIs are highly compatible with Moose. Methods which have the +same name as Moose's are expected to be compatible with Moose's. =head3 Meta object protocols -Any MOP in Mouse has no attributes by default. +Meta object protocols are a subset of the counterpart of Moose. +Their methods which have the same name as Moose's are expected to be +compatible with Moose's. Feel free to use these methods even if they +are not documented. -For this reason, C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. +However, there are differences between Moose's MOP and Mouse's. +For example, meta object protocols in Mouse have no attributes by default, +so C<< $metaclass->meta->make_immutable() >> will not work as you expect. B. =head3 Mouse::Meta::Instance -Meta instance mechanism is not implemented. +Meta instance mechanism is not implemented, so you cannot change the reftype +of Mouse objects in the same way as Moose. =head3 Role exclusion