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=99dabca734952c83bda5859b48a50e850fd35729;hb=81fd550d4417451af22a45f26b93829b4515bb89;hpb=4f74e488e9d376f9def450da059e9a45d2870049 diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 99dabca..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,22 +19,34 @@ 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 -Any MOP has no attributes, so -C<< $metaclass->meta->make_immutable() >> will not yet work as you expect. +Any MOP in Mouse has no attributes. -=head3 C +For this reason, C<< $metaclass->meta->make_immutable() >> does not yet work as you expect. +B. + +=head3 Mouse::Meta::Instance Meta instance mechanism is not implemented. @@ -42,10 +54,10 @@ Meta instance mechanism is not implemented. Role exclusion, C, is not implemented. -=head3 C<-traits> and C<-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 @@ -123,5 +135,11 @@ L - Providing an alternate base object clas L +L + +L + +L + =cut