- or download this
eval {
something_that_might_die();
};
print "Caught: $@" if $@;
- or download this
die "exception!\n";
- or download this
package Thing;
sub new { bless {}, shift }
...
undef $b;
};
print "Caught: $@\n" if $@;
- or download this
Thing=HASH(0x811b24c) is dying
- or download this
Thing=HASH(0x811b24c) is dying!
Caught: (in cleanup) Thing=HASH(0x811b24c) died