But then what happens if they call exit(0)? Then we die() and get a failure from the eval.

I suppose I can just catch that and not use the die()??

I hate the idea of another layer of eval, but I guess that's what I need at this point?


In reply to Re^2: Embedded perl: allowing 'exit' in eval_pv without exiting C program by daveola
in thread Embedded perl: allowing 'exit' in eval_pv without exiting C program by daveola

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":