Aspect-Oriented Programming with Perl 5.8.0
[email protected] (Stephen Adkins) Tue, 29 Oct 2002 23:34:14 -0500
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <[email protected]> |
Hi, Does anyone know any modules that support Aspect-Oriented Programming (AOP) for Perl 5.8.0? The ideal answer would be that someone knows there is a module or set of modules that will work on Perl 5.5.3, Perl 5.6.X, Perl 5.8.0, and into the foreseeable future. However, I am increasingly pessimistic about finding anything like this. When perl 5.6.1 was the latest stable Perl, I was using Marcel Grunauer's Aspect module http://search.cpan.org/author/MARCEL/Aspect/lib/Aspect.pm which in turn relied on Damian Conway's Hook::LexWrap http://search.cpan.org/author/DCONWAY/Hook-LexWrap/lib/Hook/LexWrap.pm However, I contacted the [email protected] mailing list which supports this module, and Tony Bowden responded that the Aspect module seems to required 5.8.0 but does not in fact run with it. With Damian's Perl grant being over and his extended leave beginning, I doubt he will be trying to update his Hook::LexWrap module to support 5.8. What I really want is the ability to do the following. * Turn on "tracing", where a program will print out every function/method entry and exit in indented form to show the program flow. I had been hoping to put this support into the developing App-Context distribution, but the inability to run on Perl 5.8 makes that impractical. So does anyone have any suggestions? Stephen