http://www.perlmonks.org?node_id=1000152


in reply to Re^2: Core module: Attribute::Handlers behaviour
in thread Core module: Attribute::Handlers behaviour

"Just because it is the main scripts runtime, doesn't prevent the eval use'd script from having its own BEGIN & END times. After all, it still has to be compiled."

Naturally. But it was my reading of the OP that he wanted to be able to apply the attributes defined in the eval-use'd script to subs defined in its caller, which would have already finished compiling. Of course, I may have misinterpreted.

"Shame the function name isn't provided to the attribute handler."

That's why god invented Sub::Identify ;-)

1066 and all that