7 our $MouseVersion = $VERSION;
8 our $MooseVersion = '0.90';
10 sub MouseVersion{ $MouseVersion }
11 sub MooseVersion{ $MooseVersion }
18 Mouse::Spec - To what extent Mouse is compatible with Moose
22 This document describes Mouse version 0.40
28 printf "Mouse/%s is compatible with Moose/%s\n",
29 Mouse::Spec->MouseVersion, Mouse::Spec->MooseVersion;
35 =head2 Compatibility with Moose
37 =head2 Incompatibility with Moose
39 =head3 Meta object protocols
41 Any MOP has no attributes, so
42 C<< $metaclass->meta->make_immutable() >> does not yet work as you expect.
44 =head3 Mouse::Meta::Instance
46 Meta instance mechanism is not implemented.
50 Role exclusion, C<exclude()>, is not implemented.
52 =head3 -traits and -metaclass in Mouse::Exporter
54 C<< use Mouse -traits => ... >> and C<< use Mouse -metaclass => ... >> are not
57 =head2 Notes about Moose::Cookbook
59 Many recipes in L<Moose::Cookbook> fit L<Mouse>, including:
65 L<Moose::Cookbook::Basics::Recipe1> - The (always classic) B<Point> example
69 L<Moose::Cookbook::Basics::Recipe2> - A simple B<BankAccount> example
\r
73 L<Moose::Cookbook::Basics::Recipe3> - A lazy B<BinaryTree> example
77 L<Moose::Cookbook::Basics::Recipe4> - Subtypes, and modeling a simple B<Company> class hierarchy
81 L<Moose::Cookbook::Basics::Recipe5> - More subtypes, coercion in a B<Request> class
\r
85 L<Moose::Cookbook::Basics::Recipe6> - The augment/inner example
\r
89 L<Moose::Cookbook::Basics::Recipe7> - Making Moose fast with immutable
\r
93 L<Moose::Cookbook::Basics::Recipe8> - Builder methods and lazy_build
\r
97 L<Moose::Cookbook::Basics::Recipe9> - Operator overloading, subtypes, and coercion
\r
101 L<Moose::Cookbook::Basics::Recipe10> - Using BUILDARGS and BUILD to hook into object construction
\r
105 L<Moose::Cookbook::Roles::Recipe1> - The Moose::Role example
\r
109 L<Moose::Cookbook::Roles::Recipe2> - Advanced Role Composition - method exclusion and aliasing
113 L<Moose::Cookbook::Roles::Recipe3> - Applying a role to an object instance
\r
117 L<Moose::Cookbook::Meta::Recipe2> - A meta-attribute, attributes with labels
\r
121 L<Moose::Cookbook::Meta::Recipe3> - Labels implemented via attribute traits
\r
125 L<Moose::Cookbook::Extending::Recipe3> - Providing an alternate base object class
\r