note
diotalevi
<p>Well... you neglected to account for <c>DESTROY { eval {} }</c> and <c>DESTROY { die }</c> for any objects created in your test code. You failed to account for buggy overloading in exception objects. To do all of that correctly you've got to use the return value of the eval{} to decide failure, hook and unhook $SIG{__DIE__}, save $@ so when you stringify it, you don't accidentally cause it to clobber itself.</p><p>Perl exception handling is actually a garden of pain.</p><div class="pmsig"><div class="pmsig-194920">
<p>⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊</p>
</div></div>
760581
761066