X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=506e4e83d5434a501f05c8caf36d1150a8344781;hp=e98cfd73ee5ffa94a74922a93981499eecb7d58e;hb=6a97bbdad44391f2a587165cb81fcf8aedc642ac;hpb=d2bd2119402d2d8d1909c71a7dee07772e094db9 diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index e98cfd7..506e4e8 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -2,7 +2,7 @@ package Mouse::Spec; use strict; use warnings; -our $VERSION = '0.34'; +our $VERSION = '0.40_04'; our $MouseVersion = $VERSION; our $MooseVersion = '0.90'; @@ -12,3 +12,129 @@ sub MooseVersion{ $MooseVersion } 1; __END__ + +=head1 NAME + +Mouse::Spec - To what extent Mouse is compatible with Moose + +=head1 VERSION + +This document describes Mouse version 0.40_04 + +=head1 SYNOPSIS + + use Mouse::Spec; + + printf "Mouse/%s is compatible with Moose/%s\n", + Mouse::Spec->MouseVersion, Mouse::Spec->MooseVersion; + +=head1 DESCRIPTION + +(TODO) + +=head2 Compatibility 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. + +=head3 Mouse::Meta::Instance + +Meta instance mechanism is not implemented. + +=head3 Role exclusion + +Role exclusion, C, is not implemented. + +=head3 -traits and -metaclass in Mouse::Exporter + +C<< use Mouse -traits => ... >> and C<< use Mouse -metaclass => ... >> are not +yet implemented. + +=head2 Notes about Moose::Cookbook + +Many recipes in L fit L, including: + +=over 4 + +=item * + +L - The (always classic) B example + +=item * + +L - A simple B example + +=item * + +L - A lazy B example + +=item * + +L - Subtypes, and modeling a simple B class hierarchy + +=item * + +L - More subtypes, coercion in a B class + +=item * + +L - The augment/inner example + +=item * + +L - Making Moose fast with immutable + +=item * + +L - Builder methods and lazy_build + +=item * + +L - Operator overloading, subtypes, and coercion + +=item * + +L - Using BUILDARGS and BUILD to hook into object construction + +=item * + +L - The Moose::Role example + +=item * + +L - Advanced Role Composition - method exclusion and aliasing + +=item * + +L - Applying a role to an object instance + +=item * + +L - A meta-attribute, attributes with labels + +=item * + +L - Labels implemented via attribute traits + +=item * + +L - Providing an alternate base object class + +=back + +=head1 SEE ALSO + +L + +L + +L + +L + +=cut +