in reply to Embedded perl: allowing 'exit' in eval_pv without exiting C program

[...] calls 'exit' in the C program [...]

Perl's exit or C's exit?

Preventing the latter from terminating perl will be quite hard ...

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Embedded perl: allowing 'exit' in eval_pv without exiting C program

Replies are listed 'Best First'.
Re^2: Embedded perl: allowing 'exit' in eval_pv without exiting C program
by daveola (Sexton) on Mar 26, 2021 at 02:17 UTC
    We're doing an exit() in perl, but it's causing exit to be called on the C code. That's the whole problem.