http://search.cpan.org/src/MARKSTOS/CGI-Application-4.06/t/10errormode.t
http://search.cpan.org/src/MARKSTOS/CGI-Application-4.06/test/TestApp11.pm
Basically, it wraps run() within an eval{} block. If run() dies (for
WHATEVER reason) and error_mode is set, then it is called with $@ as
its only parameter.
Rob
On 7/31/06, Jamie Krasnoo <[EMAIL PROTECTED]> wrote:
Hi all,
I've tried setting the error mode and it seems that I'm
misunderstanding on how it's supposed to be used. I thought it was run
when a run mode blows up, errors out or whtever you'd like to call it.
It would be used to hide errors from visitors. Does using CGI::Carp
defeat it? Can I see an example of how to use it?
Thanks,
Jamie
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]