Carp::Notify
Carp::Notify - Loudly complain in lots of places when things break badly
AUTHOR
Jim Thomason thomasoniii@yahoo.com
SYNOPSIS
Use it in place of die or croak, or warn or carp.
#with Carp;
use Carp;
if ($somethingalittle_bad) { carp("Oh no, a minor error!")};
if ($something_bad) { croak ("Oh no an error!")};
#with Carp::Notify;
use Carp::Notify;
if (somethingalittle_bad) {notify("Oh no, a minor error!")};
if ($something_bad) { explode ("Oh no an error!")};
REQUIRES
Perl 5.005, Socket (for emailing)
v1.10 is a typical .10 release from me, cleaned up the internals, fixed some obscure bugs, added some more features. Should be 100% backwards compatible from v1.00. Must have upgrade for all users, IMHO.