in reply to Re^3: Disabling runtime warnings in dynamic scope? (Scope::Context)
in thread Disabling runtime warnings in dynamic scope?

I'm pretty sure PadWalker can't access global special vars inside a foreign sub.

And manipulating the warn handler looks cleaner now (though I have to check caller(2) too)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

  • Comment on Re^4: Disabling runtime warnings in dynamic scope? (PadWalker)