a generic exception reporter for Perl