spacepille has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
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.
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.
Back to
Seekers of Perl Wisdom