$SIG{__DIE__} in Notes.pm?

2007-04-15 Thread Eric Wilhelm
What's that for? use Carp; BEGIN{ $SIG{__DIE__} = \&carp::confess } If we can do without it, we probably should. --Eric -- "Insert random misquote here" --- http://scratchcomputing.com ---

Re: $SIG{__DIE__} in Notes.pm?

2007-04-15 Thread Marvin Humphrey
On Apr 15, 2007, at 2:41 AM, Eric Wilhelm wrote: What's that for? use Carp; BEGIN{ $SIG{__DIE__} = \&carp::confess } If we can do without it, we probably should. Looks like debugging code (giving you a stack trace rather than a 1 line error), and broken debugging code at that, what with

Re: $SIG{__DIE__} in Notes.pm?

2007-04-16 Thread Ken Williams
On Apr 15, 2007, at 7:48 AM, Marvin Humphrey wrote: On Apr 15, 2007, at 2:41 AM, Eric Wilhelm wrote: What's that for? use Carp; BEGIN{ $SIG{__DIE__} = \&carp::confess } If we can do without it, we probably should. Looks like debugging code (giving you a stack trace rather than a 1 li