On Sun, Jun 28, 2009 at 1:24 AM, Rafael Garcia-Suarez<rgarciasua...@gmail.com> wrote:
> No, it's not global : it's a magic variable that points at the current > warnings for the statement being compiled (much like %^H and $^H point > at the pragmas currently in effect at compile time). and "Being Compiled" means all open scopes that are being compiled -- but how does it know when to stop? I have never been able to figure out how far up the compilation stack a modification of %^H goes and why. That is, if I write a simple pragma according to the instructions in perldoc perlpragma, and invoke it inside a scope, outside the scope the value does not revert. What am I doing wrong?