His solution was to create a local copy of CORE::GLOBAL::die and use that instead. Seems like a good idea, one that I wish had been discussed in the multitude of perl books that I've read.
Time to test it out now...
Addendum Ok - tested it out. Works like a charm. In fact, it probably ought to be the standard idiom and not $SIG{__DIE__}.
More on $SIG handlers 0 Comments More | Login | Reply /