On Thu, Jan 12, 2012 at 9:39 AM, Peter Shangov <pshan...@yahoo.com> wrote:
> I am interested specifically in the event captured by > Sub::Mutate::when_sub_bodied(). I would like to be able to mess with a sub > immediately after it has been compiled, i.e. its prototype has been set, > its attributes have been executed, and its body has been defined, but > before any code has had an opportunity to invoke it. I imagine the > B::Hooks::EndOfScope::on_scope_end() approach would fail e.g. if there is a > BEGIN block calling the sub immediately after its definition. > Is there something in particular you're trying to do here? I'd imagine it's Moose and validation related, as you're asking it in this thread, but without more specifics... -Chris -- Chris Weyl Ex astris scientia