---
name: "Apache::TestReport"
section: "3pm"
platform: "linux"
package: "libapache2-mod-perl2"
version: "2.0.13-2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Apache::TestReport"
---

# Apache::TestReport(3pm)

A parent class for generating bug/success reports

## NAME

Apache::TestReport - A parent class for generating bug/success reports

## Synopsis

```
  use Apache::TestReport;
  Apache::TestReport->new(@ARGV)->run;
```

## Description

This class is used to generate a bug or a success report, providing information about the system the code was running on.

## Overridable Methods

### config

return the information about user's system

### report\_to

return a string containing the email address the report should be sent to

### postit\_note

return a string to close the report with, e.g.:

```
      my($to, $where) = split '@', $self->report_to;
      return <<EOF;
  Note: Complete the rest of the details and post this bug report to
  $to <at> $where. To subscribe to the list send an empty
  email to $to-subscribe\@$where.
```
