On Thu, 2020-07-23 at 04:29 +0200, Guillem Jover wrote: > I would suggest two things: > > > > 1) Fix the code in Vendor.pm to avoid the global handler around > > eval > > and make the code work as initially planned (patch attached) > > That would be a workaround as any other eval would also need to be > protected, which makes the exit handlers usage rather unsafe.
Your patch is better - since you know that all other evals are not expected to invoke a __DIE__ handler; I have checked only this one. And after removing the handler for __DIE__ there is no longer a need to print an error/notice when that gets invoked :) With best regards, b.