Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by syphilis (Archbishop)
on Mar 25, 2021 at 01:31 UTC ( [id://11130308]=note: print w/replies, xml ) Need Help??


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

Is this possible? i.e., keep eval_pv from exiting my C program but still "exit" the perl code?

Interesting question.
Could you provide a minimal script that demonstrates the issue; something that those interested can actually run ?

Cheers,
Rob
  • 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:19 UTC
    I've updated my question to include an example.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found