There's more than one way to do things | |
PerlMonks |
Re^3: Mason error capturingby rdfield (Priest) |
on Feb 02, 2005 at 17:05 UTC ( [id://427331]=note: print w/replies, xml ) | Need Help?? |
The docs state that the error mode is either fatal or output with no in between. I guess you could sub-class the constructor and re-write the fatals sub to do both. The problem, I guess, is that the error is (usually) during the interpreter phase, and doesn't get anywhere near your code, so you can't do anything too fancy. You could, of course, write a PerlLogHandler module that lets you know when an error's occured via email or somesuch. rdfield
In Section
Seekers of Perl Wisdom
|
|