As should be obvious, we're trying to catch fatal errors gracefully to give them an "I'm sorry" page instead of just handing them an ugly "500" page from the web server.Look at the code of CGI::Carp - it's implemented there. They check if the exception was thrown from an eval by examining $^S.
In reply to Re: SIG, Modules, and Eval
by aitap
in thread SIG, Modules, and Eval
by kbrannen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |