warnings::enabled, warnings::warnif, etc. allow me to specify a module name as a warnings category. It then uses Carp to determine what call frame to look at. But it provides no way to find out whether, say, uninitialized warnings are enabled in that same scope. If one could specify the number of call frames (as a number) somehow, that would be useful.
I’m willing to implement this myself, but I cannot think of a good way to extend the current API.
Site configuration information for perl 5.13.4:
Configured by sprout at Sun Aug 29 17:21:22 PDT 2010.