Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Embedded perl: allowing 'exit' in eval_pv without exiting C programby daveola (Sexton) |
on Mar 27, 2021 at 21:49 UTC ( [id://11130486]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|