Changes for version 0.36
- WARNING: THIS RELEASE CONTAINS API CHANGES. To retain compatibility with previous releases, you should change all of your after() calls to after_returning() calls.
- The after () advice now traps BOTH orginary return values and exceptions, as per the AspectJ implementation.
- To provide a more consistent naming of pointcuts (in preparation for adding more of them) renamed the logical pointcut classes to remove the "Op" part of the class name.
- Bumped Test::Exception dependency to 0.29, since it has some Sub::Uplevel fixes, and we use that heavily.
Modules
Aspect-Oriented Programming (AOP) for Perl
Change how Perl code is run at a pointcut
a pointcut context for advice code
Observer pattern with events
A singleton aspect
A wormhole between call frames
Base class for reusable aspects
pointcut base class
Logical 'and' operation pointcut
Call pointcut
Cflow pointcut
Logical 'not' operation pointcut
Logical 'or' operation pointcut
Provides
in lib/Aspect/Advice/After.pm
in lib/Aspect/Advice/AfterReturning.pm
in lib/Aspect/Advice/AfterThrowing.pm
in lib/Aspect/Advice/Around.pm
in lib/Aspect/Advice/Before.pm
in lib/Aspect/Library/Listenable/Event.pm