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

Suggestion to split an entry in perlfaq8 #122

Open
gugod opened this issue Jul 10, 2024 · 0 comments
Open

Suggestion to split an entry in perlfaq8 #122

gugod opened this issue Jul 10, 2024 · 0 comments

Comments

@gugod
Copy link

gugod commented Jul 10, 2024

This one: https://github.com/perl-doc-cats/perlfaq/blob/master/lib/perlfaq8.pod#how-can-i-do-an-atexit-or-setjmplongjmp-exception-handling

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.

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

No branches or pull requests

1 participant