As pointed out on the modperl list, we aren't consistent at suggesting where to send the report. So I changed it to be modperl@ instead of [EMAIL PROTECTED] And while at it, I've also made the generic class Apache::TestReportPerl force its users to subclass it to implement the report_to() method, so users of 3rd party modules won't be suggested to send emails here, but to the given project's respective email address.

Index: Apache-Test/lib/Apache/TestReportPerl.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestReportPerl.pm,v
retrieving revision 1.6
diff -u -r1.6 TestReportPerl.pm
--- Apache-Test/lib/Apache/TestReportPerl.pm 4 Mar 2004 05:51:31 -0000 1.6
+++ Apache-Test/lib/Apache/TestReportPerl.pm 25 Jun 2004 10:10:42 -0000
@@ -28,7 +28,12 @@
ModPerl::Config::as_string();
}


-sub report_to { '[EMAIL PROTECTED]' }
+sub report_to {
+    my $self = shift;
+    my $pkg  = ref $self;
+    die "you need to implement $pkg\::report_to() to return the " .
+        "contact email address of your project";
+}

 1;
 __END__
Index: lib/ModPerl/TestReport.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/TestReport.pm,v
retrieving revision 1.2
diff -u -r1.2 TestReport.pm
--- lib/ModPerl/TestReport.pm   4 Mar 2004 06:01:06 -0000       1.2
+++ lib/ModPerl/TestReport.pm   25 Jun 2004 10:10:42 -0000
@@ -99,4 +99,7 @@
     return $package;
 }

+sub report_to { '[EMAIL PROTECTED]' }
+
+
 1;

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to