[Xml-compile] Re: Log::Report modes
Mark Overmeer
mark at overmeer.net
Wed Oct 17 21:37:12 GMT 2012
* Karen Etheridge (perl at froods.org) [121017 21:25]:
> On Wed, Oct 17, 2012 at 02:15:11PM -0700, Karen Etheridge wrote:
> > I mind :) - it means I have to set up a separate error channel to handle
> > these situations. I'd rather just turn it off, as I'm going to see what
> > the eventual result of the request was, when I examine $answer and $trace.
>
> 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.
--
Regards,
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