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

Interesting ...https://github.com/gitpan/ExtUtils-ExCxxp JMPENV_JUMP my_exit_jump https://perl5.git.perl.org/perl5.git/blob/99155265b6644bc3178a61cd413e989b2ecf90d9:/perl.c#l5157 perlinterp
  • 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:20 UTC
    I'm not sure what you're suggesting here - this is C code, no? We don't have a my_exit in perl, it looks like this lets us call exit on perl from C, which isn't what I want, but maybe I'm reading it wrong?