On Sat, 2004-03-20 at 22:30, Chris Ochs wrote:
> Problem is if there is a compilation or runtime error, I cant' figure out
> how to catch it so I can log it or print the error to the screen. I can't
> wrap it in an eval because for some reasons I don't completely understand it
> masks the opcodes
I have an application that lets users load their own modules into it.
Following is the code I use to run it under Safe.pm:
$result = $safe->reval(require "$file.pm", $obj = $mod->new,
$obj->$command);
Problem is if there is a compilation or runtime error, I cant' figure out
how to catch it so I