Apache::TestReport.3pm

Langue: en

Version: 2006-11-19 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

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.