http://www.perlmonks.org?node_id=281878


in reply to Re7: Aspect-Oriented Programming: Couple of Short Examples
in thread Aspect-Oriented Programming: Couple of Short Examples

Then I must've accidentally implemented a metaclass that does all my OO book-keeping for me.

Me too ;-)

However, it's nice to work in a language where you don't have to reinvent this wheel by yourself. With metaclasses you can do this sort of thing for all classes - rather than just the ones you have had the foresight to add a flexible base class to.

  • Comment on Re^9: Aspect-Oriented Programming: Couple of Short Examples