Good idea. It would be even nicer if it were easier to splice optrees for subs together, but that requires cloning and that's a bit tricky.
I do have one suggestion. You don't have to go through that symbolic reference mess in your handler; the third argument is the referent itself -- the coderef here.
In reply to Re: Subroutine attributes for solving crosscutting problems
by chromatic
in thread Subroutine attributes for solving crosscutting problems
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |