Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: Core module: Attribute::Handlers behaviour

by tobyink (Abbot)
on Oct 20, 2012 at 19:53 UTC ( #1000152=note: print w/replies, xml ) Need Help??

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
  • Comment on Re^3: Core module: Attribute::Handlers behaviour

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000152]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-10-24 08:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.