Commit | Line | Data |
d3f79b34 |
1 | package Mouse::Spec; |
d3f79b34 |
2 | use strict; |
43e6a50b |
3 | use warnings; |
d3f79b34 |
4 | |
ed9c907b |
5 | our $VERSION = '0.37_06'; |
d3f79b34 |
6 | |
7 | our $MouseVersion = $VERSION; |
8 | our $MooseVersion = '0.90'; |
9 | |
1b9e472d |
10 | sub MouseVersion{ $MouseVersion } |
11 | sub MooseVersion{ $MooseVersion } |
12 | |
d3f79b34 |
13 | 1; |
14 | __END__ |
7fc043cc |
15 | |
16 | =head1 NAME |
17 | |
18 | Mouse::Spec - To what extent Mouse is compatible with Moose |
19 | |
a25ca8d6 |
20 | =head1 VERSION |
21 | |
22 | This document describes Mouse version 0.37_06 |
23 | |
7fc043cc |
24 | =head1 DESCRIPTION |
25 | |
ff012e5d |
26 | (TODO) |
27 | |
28 | =head2 Compatibility with Moose |
29 | |
30 | =head2 Incompatibility with Moose |
31 | |
32 | =head3 Meta object protocols |
33 | |
34 | Currently any MOP has no attributes, so |
35 | C<< $metaclass->meta->make_immutable() >> will not work as you expect. |
36 | |
37 | =head3 C<Mouse::Meta::Instance> |
38 | |
39 | Meta instance mechanism will not be implemented. |
a25ca8d6 |
40 | |
7fc043cc |
41 | =head2 Notes about Moose::Cookbook |
42 | |
43 | Many recipes in L<Moose::Cookbook> fit L<Mouse>, including: |
44 | |
45 | =over 4 |
46 | |
47 | =item * |
48 | |
49 | L<Moose::Cookbook::Basics::Recipe1> - The (always classic) B<Point> example |
50 | |
51 | =item * |
52 | |
53 | L<Moose::Cookbook::Basics::Recipe2> - A simple B<BankAccount> example\r |
54 | |
55 | =item * |
56 | |
57 | L<Moose::Cookbook::Basics::Recipe3> - A lazy B<BinaryTree> example |
58 | |
59 | =item * |
60 | |
61 | L<Moose::Cookbook::Basics::Recipe4> - Subtypes, and modeling a simple B<Company> class hierarchy |
62 | |
63 | =item * |
64 | |
65 | L<Moose::Cookbook::Basics::Recipe5> - More subtypes, coercion in a B<Request> class\r |
66 | |
67 | =item * |
68 | |
69 | L<Moose::Cookbook::Basics::Recipe6> - The augment/inner example\r |
70 | |
71 | =item * |
72 | |
73 | L<Moose::Cookbook::Basics::Recipe7> - Making Moose fast with immutable\r |
74 | |
75 | =item * |
76 | |
77 | L<Moose::Cookbook::Basics::Recipe8> - Builder methods and lazy_build\r |
78 | |
79 | =item * |
80 | |
81 | L<Moose::Cookbook::Basics::Recipe9> - Operator overloading, subtypes, and coercion\r |
82 | |
83 | =item * |
84 | |
85 | L<Moose::Cookbook::Basics::Recipe10> - Using BUILDARGS and BUILD to hook into object construction\r |
86 | |
87 | =item * |
88 | |
89 | L<Moose::Cookbook::Roles::Recipe1> - The Moose::Role example\r |
90 | |
91 | =item * |
92 | |
8006ea01 |
93 | L<Moose::Cookbook::Roles::Recipe2> - Advanced Role Composition - method exclusion and aliasing |
7fc043cc |
94 | |
95 | =item * |
96 | |
97 | L<Moose::Cookbook::Roles::Recipe3> - Applying a role to an object instance\r |
98 | |
99 | =item * |
100 | |
101 | L<Moose::Cookbook::Meta::Recipe2> - A meta-attribute, attributes with labels\r |
102 | |
103 | =item * |
104 | |
105 | L<Moose::Cookbook::Meta::Recipe3> - Labels implemented via attribute traits\r |
106 | |
107 | =item * |
108 | |
109 | L<Moose::Cookbook::Extending::Recipe3> - Providing an alternate base object class\r |
110 | |
111 | =back |
112 | |
113 | =head1 SEE ALSO |
114 | |
115 | L<Mouse> |
116 | |
117 | =cut |
118 | |