> Look at the code of CGI::Carp - it's implemented there. They check if the exception was thrown from an eval by examining $^S.
Either I didn't make my self clear or you misunderstood or I misunderstand your comment. :) The issue is that the eval's are in modules not under my control; specifically, they're from CPAN if it matters. Those modules are essentially getting in my way and triggering my __DIE__ signal handler when I don't want that. They don't die, but they do trigger my handler uneccesarily.
Kevin |