SV* rv = eval_pv("require Module; import Module; 1", 0); if (!SvTRUE(rv)) { ... handle exception ... }
$@ is available as ERRSV.
In reply to Re: Catching a die in Perl XS
by ikegami
in thread Catching a die in Perl XS
by robhoelz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |