From: Dave Rolsky Date: Sat, 11 Feb 2012 17:59:30 +0000 (-0600) Subject: Rename Basics::Recipe6 to Basics::Document_AugmentAndInner X-Git-Tag: 2.0500~74 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=174418c2f3ea3979f16f4f96edc35ee4d762e0c0;p=gitmo%2FMoose.git Rename Basics::Recipe6 to Basics::Document_AugmentAndInner --- diff --git a/lib/Moose.pm b/lib/Moose.pm index 27d954b..475d69c 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -787,14 +787,15 @@ superclass method with the same arguments as the original method. An C method, is a way of explicitly saying "I am augmenting this method from my superclass". Once again, the details of how C and -C work is best described in the L. +C work is best described in the +L. =item B The keyword C, much like C, is a no-op outside of the context of an C method. You can think of C as being the inverse of C; the details of how C and C work is best described in -the L. +the L. =item B diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index a24e4e0..2b59923 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -51,11 +51,6 @@ classes that could be used to model companies, people, employees, etc. This recipe covers more subtype creation, 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". - =item L - Making Moose fast with immutable Making a class immutable greatly increases the speed of accessors and @@ -81,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 diff --git a/lib/Moose/Cookbook/Basics/Recipe6.pod b/lib/Moose/Cookbook/Basics/Document_AugmentAndInner.pod similarity index 95% rename from lib/Moose/Cookbook/Basics/Recipe6.pod rename to lib/Moose/Cookbook/Basics/Document_AugmentAndInner.pod index 9b9c66a..962adef 100644 --- a/lib/Moose/Cookbook/Basics/Recipe6.pod +++ b/lib/Moose/Cookbook/Basics/Document_AugmentAndInner.pod @@ -1,6 +1,6 @@ -package Moose::Cookbook::Basics::Recipe6; +package Moose::Cookbook::Basics::Document_AugmentAndInner -# ABSTRACT: The augment/inner example +# ABSTRACT: The augment modifier, which turns normal method overriding "inside-out" __END__