Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by tobyink (Canon)
on Oct 20, 2012 at 19:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1000152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found