Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:with_ignoring_die(...) #175

Open
hkoba opened this issue Jun 30, 2019 · 1 comment
Open

:with_ignoring_die(...) #175

hkoba opened this issue Jun 30, 2019 · 1 comment
Assignees

Comments

@hkoba
Copy link
Owner

hkoba commented Jun 30, 2019

As noted in #174, $SIG{__DIE__}' handlers in YATT::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.

@hkoba hkoba self-assigned this Jun 30, 2019
@hkoba hkoba changed the title :with_ignore_error(...) :with_ignoring_die(...) Jun 30, 2019
hkoba added a commit that referenced this issue Jun 30, 2019
…E__ and __WARN__ handlers

But see also [GH #176] for current limitation.
@hkoba
Copy link
Owner Author

hkoba commented Jul 2, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant