[Xml-compile] Re: Log::Report modes

Karen Etheridge perl at froods.org
Wed Oct 17 22:36:06 GMT 2012


On Wed, Oct 17, 2012 at 11:37:12PM +0200, Mark Overmeer wrote:
> > The other way I could work around this would be to set up a __WARN__
> > handler, if all emissions from Log::Report are guaranteed to be to stderr.
> 
> All emissions of Log::Report are to the dispatchers.  If the "Perl"
> dispatcher is amongst them, then die's and warns will be activated.
> Log::Report's try{} disables the current dispatchers temporarily.
> It is *not* the same as Try::Tiny. 

Okay! Then what I probably want then is a way to turn off all dispatchers?
I don't see an example in the docs for how to do that.




More information about the Xml-compile mailing list