From: Dave Rolsky Date: Mon, 20 Feb 2012 15:47:15 +0000 (-0600) Subject: Small tweaks to new text X-Git-Tag: 2.0500~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoose.git;a=commitdiff_plain;h=19e40f4bb7c4c86dac34db199000196ed6d79415 Small tweaks to new text --- diff --git a/lib/Moose/Cookbook/Extending/ExtensionOverview.pod b/lib/Moose/Cookbook/Extending/ExtensionOverview.pod index e81d824..43ac327 100644 --- a/lib/Moose/Cookbook/Extending/ExtensionOverview.pod +++ b/lib/Moose/Cookbook/Extending/ExtensionOverview.pod @@ -278,17 +278,17 @@ override it in order to add additional functionality. Some differences to note: C simply returns the C, C, and C methods, rather than installing them under the appropriate names. -This way, you can write your own which wrap the existing functionality. -C also takes an additional C parameter, which -tells it to just go ahead and install these methods (since we don't need to -modify them). +This way, you can write your own methods which wrap the functionality provided +by L. The C sub also takes an +additional C parameter, which tells it to just go ahead and install +these methods (since we don't need to modify them). =item C Next, we must write our C wrapper. The important things to remember are that it is called as a method, and that C<%options> needs to be passed -through to the existing implementation. Calling the base implementation just -uses the C<$init_meta> subroutine reference that was returned by +through to the existing implementation. We call the base implementation by +using the C<$init_meta> subroutine reference that was returned by C earlier. =item Additional implementation