[Xml-compile] Re: Log::Report modes
Mark Overmeer
mark at overmeer.net
Wed Oct 17 22:38:49 GMT 2012
* Karen Etheridge (perl at froods.org) [121017 22:36]:
> 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.
Log::Report's try{} turns off all usual dispatchers. See
the manual of Log::Report::Dispatcher::Try
--
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list