in reply to Re: Dynamic function dispatching...
in thread Dynamic function dispatching...

Hi Randal,

Thanks for the quick reply!

The short answer is that it might. :)

After glancing at the perldocs for Aspect the only couple of questions I'll need to answer are:

  1. Can I advise functions that don't exist?
  2. Can I write "around" advice that can call another function than the one it appears that I want to call? (e.g. Can advice to Logger::Foo::bar() eventually call Foo::bar() with modified args and never actually try to dispatch to Logger::Foo::bar()?)

I'll start digging into Aspect now to find these answers. Maybe this will be a winner. :)

Thanks again!
zonk