As noted in #174, $SIG{__DIE__}' handlers inYATT::Lite::WebMVC0::DirAppconflict with some modules which useseval {...}` to test some edge conditions such as module presence, ISA relation.
So, let's provide an entity like :with_ignoring_die(code), which temporarily disables $SIG{__DIE__} while the $code is running.
It seems to me this name :with_ignoring_die is misleading because the use of this entmacro suppresses only $SIG{__DIE__} so you still receive die exceptions. Suggestions are welcome.
As noted in #174,
$SIG{__DIE__}' handlers in
YATT::Lite::WebMVC0::DirAppconflict with some modules which uses
eval {...}` to test some edge conditions such as module presence, ISA relation.So, let's provide an entity like
:with_ignoring_die(code)
, which temporarily disables$SIG{__DIE__}
while the$code
is running.