X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FCookbook.pod;h=2b5992321585d3936237edaac668683237530eba;hb=174418c2f3ea3979f16f4f96edc35ee4d762e0c0;hp=58178c0aba2583fdf08cac0f692293d68d6646b2;hpb=ed82277c6382d6edcd37676b4140a8ce05fdca90;p=gitmo%2FMoose.git diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index 58178c0..2b59923 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -41,19 +41,15 @@ Demonstrates several attribute features, including types, weak references, predicates ("does this object have a foo?"), defaults, laziness, and triggers. -=item L - Subtypes, and modeling a simple B class hierarchy +=item L -Introduces the creation and use of custom types, a C method, -and the use of C in a subclass. +Introduces the creation and use of custom types, a C method, and the +use of C in a subclass. This recipe also shows how to model a set of +classes that could be used to model companies, people, employees, etc. -=item L - More subtypes, coercion in a B class +=item L -More type examples, including the use of type coercions. - -=item L - The augment/inner example - -Demonstrates the use of C method modifiers, a way of turning -the usual method overriding style "inside-out". +This recipe covers more subtype creation, including the use of type coercions. =item L - Making Moose fast with immutable @@ -80,6 +76,11 @@ into object construction. In this recipe, we make a Moose-based subclass of L, a module which does not use Moose itself. +=item L + +Demonstrates the use of C method modifiers, a way of turning +the usual method overriding style "inside-out". + =back =head2 Moose Roles