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?? |
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
In Section
Seekers of Perl Wisdom
|
|