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=ac462aa809fb6e24743fd6b8cf46b7a07a6d5b0d;hb=267711f78bd79835875f805447d3ab802a18f0c4;hpb=6e168432fa69bbe87ff0dd12e355a8b5d99a1a9c diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index ac462aa..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.40_05'; +our $VERSION = '0.4501'; our $MouseVersion = $VERSION; -our $MooseVersion = '0.90'; +our $MooseVersion = '0.93'; 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.40_05 +This document describes Mouse version 0.4501 =head1 SYNOPSIS @@ -30,16 +30,21 @@ This document describes Mouse version 0.40_05 =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. + +For this reason, 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