Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Anonymous Monk
on Mar 25, 2021 at 11:50 UTC ( [id://11130320]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11130320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found