in reply to (tye)Re: How do I get warnings to work properly?
in thread How do I get warnings to work properly?

Any idea how to do this? From the warnings documentation it looks like one just says:

   use warnings 'MyPackage';

or

   no warnings 'MyPackage';

Assuming one has called use warnings::regsiter() from within MyPackage. Is there some other way to do this? I've even tried putting the use warnings::register in the BEGIN or INIT blocks to see if that would work.