From: Jesse Luehrs <doy@tozt.net>
Date: Sat, 7 May 2011 00:33:37 +0000 (-0500)
Subject: mention moosex-mangle
X-Git-Tag: 2.0100~152
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5e8927d68ef9054e7a5949f733b633e06f8aa1c3;p=gitmo%2FMoose.git

mention moosex-mangle
---

diff --git a/lib/Moose/Manual/FAQ.pod b/lib/Moose/Manual/FAQ.pod
index e3beadf..8052982 100644
--- a/lib/Moose/Manual/FAQ.pod
+++ b/lib/Moose/Manual/FAQ.pod
@@ -203,6 +203,9 @@ preserve context).
 The C<around> method modifier has neither of these limitations, but is
 a little more verbose.
 
+Alternatively, the L<MooseX::Mangle> extension provides the
+C<mangle_args> function, which does allow you to affect C<@_>.
+
 =head3 Can I use C<before> to stop execution of a method?
 
 Yes, but only if you throw an exception. If this is too drastic a
@@ -222,6 +225,10 @@ of the main method. Here is an example:
 By choosing not to call the C<$next> method, you can stop the
 execution of the main method.
 
+Alternatively, the L<MooseX::Mangle> extension provides the
+C<guard> function, which will conditionally prevent execution
+of the original method.
+
 =head3 Why can't I see return values in an C<after> modifier?
 
 As with the C<before> modifier, the C<after> modifier is simply called
@@ -240,6 +247,10 @@ is some sample code:
       return reverse @rv;
   };
 
+Alternatively, the L<MooseX::Mangle> extension provides the
+C<mangle_return> function, which allows modifying the return values
+of the original method.
+
 =head2 Type Constraints
 
 =head3 How can I provide a custom error message for a type constraint?