Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Intercepting compile time blocks like BEGIN {}

by LanX (Saint)
on Aug 09, 2010 at 14:26 UTC ( [id://853833]=note: print w/replies, xml ) Need Help??


in reply to Re: Intercepting compile time blocks like BEGIN {}
in thread Intercepting compile time blocks like BEGIN {}

Well that's one of my questions. :)

As I said "I took a look into Safe" but couldn't figure out how to achieve this goal.

Safe seams mainly to intercept dedicated opcodes, are there special opcodes for CTBs?

AFAIK opcodes are executed after compilation (to opcodes) so it should be already to late.

Cheers Rolf

  • Comment on Re^2: Intercepting compile time blocks like BEGIN {}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-23 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found