X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FSpec.pm;h=999b04251d80590cb2b0649b39551747aeece232;hb=ff012e5dfb18773f8c9108780b19a6d9b9b9efed;hp=88cf1bb342c2fcb043ba30038d06d5e9f06535ea;hpb=d3f79b344fc05af568860ee2bf1715474142e2f9;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 88cf1bb..999b042 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -1,13 +1,118 @@ package Mouse::Spec; - use strict; -use version; +use warnings; -our $VERSION = '0.33'; +our $VERSION = '0.37_06'; our $MouseVersion = $VERSION; our $MooseVersion = '0.90'; +sub MouseVersion{ $MouseVersion } +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.37_06 + +=head1 DESCRIPTION + +(TODO) + +=head2 Compatibility 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. + +=head3 C + +Meta instance mechanism will not be 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 + +=cut +