http://qs321.pair.com?node_id=650903

spacepille has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

i want catch compiler errors from an embedded perl interpreter.

For example:

eval_pv( "unknown_print 123;", FALSE );

prints the error message directly to STDERR.

injecting "$SIG{'__DIE__'} = 'MY::die_handler';" did not work for this case.

Is there any possibility to catch this error? Thank you.