in reply to Re: Carping about object destruction when errors are unprocessed?
in thread Carping about object destruction when errors are unprocessed?
Hm, making it optional (but default on) is a reasonable thought. Two points I wanted to make clear, to make sure we're really on the same page:
That said, I want to reiterate that supplying a 'verbose' option to control the "carp on DESTROY" function might not be a bad idea (thanks!), though a consuming module could always just override DESTROY if the warnings were inappropriate...
|
|---|