Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

miyagawa (1653)

  (email not shown publicly)
AOL IM: bulknews (Add Buddy, Send Message)

Journal of miyagawa (1653)

Friday January 11, 2002
09:47 AM


[ #2068 ]
Seeing through Dave Rolsky's Exception::Class and Sig::PackageScoped has let me make the module, called Exception::Handler.

In fact I rarely use $SIG{__DIE__} for exception handling, but the concept of the module would be a bit interesting.

Tarball can be fetched from: here.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I recently ran into problems with $SIG{__DIE__} myself (doesn't mix with "eval"), and saw at least one of Dave Rolsky's modules.

    My solution, based entirely on a small blurb by Damian Conway, was to redefine the "die" sub like so:

    *CORE::GLOBAL::die = \&handle_die;

    I posted to clpm about any potential drawback to doing this, but no one responded. Any thoughts?