forked from rafl/perlfaq
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
The title is: How can I do an atexit() or setjmp()/longjmp()? (Exception handling)
While all 3 of those functions are system calls, it seems to me that we are combining 2 questions into 1 answering.
It could be more helpful if the question is split into, say, the following 2:
- How can I do an atexit() to setup an handler to be called at process termination
- How can I do setjmp()/longjmp() for the purpose of exception handling
The current answers looks like a simple concatenation of 2 answers for those 2 questions, so it wouldn't require any extra writing at all, to split this entry.
Metadata
Metadata
Assignees
Labels
No labels