The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.12

  • You can now attach advice to subs in main:: package, see Advice tests
  • Made everything easier to install by including dependencies required for testing
  • Added __always_fire option to Listenable
  • Listenable: You can now let listeners receive any parameters, not just the event, see the test object_listener
  • Modified our hack on Hook::LexWrap so it does not ignore prototypes, see Advice tests
  • Removed old warning from Makefile.PL

Modules

AOP for Perl
change how Perl code is run at a pointcut
a pointcut context for advice code
Lexically scoped subroutine wrappers
Observer pattern with events
cross-cutting memoization
reusable method call profiling aspect
A singleton aspect
give Test::Class test methods an IUT (implementation under test)
A wormhole between call frames
base class for reusable aspects
pointcut base class
aspect weaving functionality

Provides

in lib/Aspect/Hook/LexWrap.pm
in lib/Aspect/Library/Listenable.pm
in lib/Aspect/Pointcut/AndOp.pm
in lib/Aspect/Pointcut/BinOp.pm
in lib/Aspect/Pointcut/Call.pm
in lib/Aspect/Pointcut/Cflow.pm
in lib/Aspect/Pointcut/NotOp.pm
in lib/Aspect/Pointcut/OrOp.pm
in lib/Aspect/Library/Profiler.pm