in reply to strict refs on / off process time
You know, did you benchmark this first? I mean heck, we're talking about two piddly subroutine calls here (once to unset strict refs, once to set it again). There are probably better things to optimize than this.
__SIG__ use B; printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;
|
|---|