Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-12-20 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls