in reply to SIG, Modules, and Eval
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SIG, Modules, and Eval
by kbrannen (Beadle) on Aug 16, 2014 at 03:41 UTC | |
by ikegami (Patriarch) on Aug 16, 2014 at 04:38 UTC | |
by kbrannen (Beadle) on Aug 16, 2014 at 19:02 UTC | |
by AppleFritter (Vicar) on Aug 16, 2014 at 19:30 UTC | |
by kbrannen (Beadle) on Aug 18, 2014 at 01:31 UTC | |
|