Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I've never used Sub::Compose in production, but you said that you're doing this for debugging purposes, so is that really a concern?
As for Class::MOP, methods are subroutines. Subroutines are methods of their package. As for the MOP concern, you're doing this for debugging purposes. Does it really matter how it gets done? Also, I thought of another thing - this idea is also called Aspect-Oriented Programming and there's AOP on CPAN. My criteria for good software:
In reply to Re^3: RFC: Sub::Prepend - Prepend code to named subroutines
by dragonchild
|
|