in reply to perlapi - How to get compilation errors SV

Maybe you could try eval_sv instead, which (in contrast to eval_pv) allows the G_KEEPERR flag to be specified (you wouldn't get your SV result, though...).  Something like this (untested):

eval_sv(newSVpv(code.c_str(), 0), G_KEEPERR);

See also this thread and G_KEEPERR.

Replies are listed 'Best First'.
Re^2: perlapi - How to get compilation errors SV
by gszczesz (Novice) on Apr 11, 2009 at 03:03 UTC
    That did the trick. Forever in your debt. Greg