On May 8, 2010, at 9:27 AM, Eric Veith1 wrote:
Hello folks!
I'd like to create a role that adds an around modifier to all
methods of
a concrete class that assumes the role. However, the modifier shall
*not*
include attributes, methods provided by the role itself or methods
inherited.
Hans Dieter Pearcey h...@pobox.com wrote on 05/08/2010 04:59:58 PM:
Method modifiers are coderefs, not method names, and all the
add_*_method_modifier methods take two arguments, not just one.
perldoc Class::MOP::Class
You're right. That one completely slipped me. Sorry for the PEBKAC. :-)
On May 8, 2010, at 1:27 PM, Eric Veith1 wrote:
Stevan Little stevan.lit...@iinteractive.com wrote on 05/08/2010
07:09:47
PM:
I have a serious allergy to method attributes, I don't ever use them
so I couldn't comment.
Do you mind giving me some bullet points regarding your allergy? I