A software tool that facilitates complaining about malfunctioning products or services across multiple platforms. Users can express their dissatisfaction loudly and extensively to maximize impact.
To use it, simply include the following commands:
With Carp:
use Carp;
if ($something_a_little_bad) {
carp("Oh no, a minor error!");
};
if ($something_bad) {
croak ("Oh no an error!");
};
With Carp::Notify:
use Carp::Notify;
if (something_a_little_bad) {
notify("Oh no, a minor error!");
};
if ($something_bad) {
explode ("Oh no an error!");
};
If a program experiences an explosion, it will terminate, same as with die, croak, or exit, and then email someone with useful information regarding what caused the problem. The provided data can also be logged to a file.
If you need to be notified of non-fatal errors, such as disk space approaching full, the software can be set up to notify you of the error without terminating the program. The software has default settings which can be overridden later. It is recommended to set up appropriate defaults within the software to avoid headaches later on.
In summary, Carp::Notify is an excellent software that loudly reports errors in unsupervised applications and provides useful information about the error that caused the problem. It is a reliable and efficient software that will save you from the hassle of manual reporting.
Version 1.10: N/A