in reply to Re^2: RFC: Sub::Prepend - Prepend code to named subroutines
in thread RFC: Sub::Prepend - Prepend code to named subroutines
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: RFC: Sub::Prepend - Prepend code to named subroutines
by moritz (Cardinal) on Jun 05, 2008 at 13:37 UTC |