|
Hi guys,
I got this weird problem when invoking an undefined method of an Insideout class. The error I got outside the mod_perl environment is something like this:
template error: undef error - OIO::Method error: Can't locate object method "fix
ed_rate" via package "Emerge::VO::Contract"
Package: Template::Document
File: edit_recycling_contract.htm
Line: 115
...
The code uses the eval { ... }; if ( $@ ) {...} construct.
Now, the same piece of code running in mod_perl env. generates a segfault, forcing Apache to restart. I tried to localize $SIG{__DIE__}, but still got the same problem.
Does anyone have any idea why the error couldn't be trapped?
Thanks.
|