X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=ea77684cf29ef09536a4bbaceeb1b6ceec53fd8b;hp=999b04251d80590cb2b0649b39551747aeece232;hb=81fd550d4417451af22a45f26b93829b4515bb89;hpb=ff012e5dfb18773f8c9108780b19a6d9b9b9efed diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 999b042..ea77684 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.37_06'; +our $VERSION = '0.45'; our $MouseVersion = $VERSION; -our $MooseVersion = '0.90'; +our $MooseVersion = '0.93'; sub MouseVersion{ $MouseVersion } sub MooseVersion{ $MooseVersion } @@ -19,24 +19,45 @@ Mouse::Spec - To what extent Mouse is compatible with Moose =head1 VERSION -This document describes Mouse version 0.37_06 +This document describes Mouse version 0.45 + +=head1 SYNOPSIS + + use Mouse::Spec; + + printf "Mouse/%s is compatible with Moose/%s\n", + Mouse::Spec->MouseVersion, Mouse::Spec->MooseVersion; =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 -Currently any MOP has no attributes, so -C<< $metaclass->meta->make_immutable() >> will not work as you expect. +Any MOP in Mouse has no attributes. + +For this reason, C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. +B. + +=head3 Mouse::Meta::Instance -=head3 C +Meta instance mechanism is not implemented. -Meta instance mechanism will not be implemented. +=head3 Role exclusion + +Role exclusion, C, is not implemented. + +=head3 -metaclass in Mouse::Exporter + +C<< use Mouse -metaclass => ... >> are not implemented. +Use C<< use Mouse -traits => ... >> instead. =head2 Notes about Moose::Cookbook @@ -114,5 +135,11 @@ L - Providing an alternate base object clas L +L + +L + +L + =cut