X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=f688eb40ef87853c0dbc5c82d45f6bf6815798c4;hp=04fa723e43516507d3b9f5e6fe73e26ea507abe3;hb=267711f78bd79835875f805447d3ab802a18f0c4;hpb=6f16d3ce5af0670b3f234a957b677c7d40060d58 diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 04fa723..f688eb4 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_05'; +our $VERSION = '0.4501'; our $MouseVersion = $VERSION; -our $MooseVersion = '0.90'; +our $MooseVersion = '0.93'; sub MouseVersion{ $MouseVersion } sub MooseVersion{ $MooseVersion } @@ -17,8 +17,48 @@ __END__ Mouse::Spec - To what extent Mouse is compatible with Moose +=head1 VERSION + +This document describes Mouse version 0.4501 + +=head1 SYNOPSIS + + use Mouse::Spec; + + printf "Mouse/%s is compatible with Moose/%s\n", + Mouse::Spec->MouseVersion, Mouse::Spec->MooseVersion; + =head1 DESCRIPTION +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 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 + +Meta instance mechanism is not 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 Many recipes in L fit L, including: @@ -95,5 +135,11 @@ L - Providing an alternate base object clas L +L + +L + +L + =cut