Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-06-25 01:27 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.