You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/06/25 12:15:10 UTC
report tweaks
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 dev@. 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 { 'dev@perl.apache.org' }
+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 { 'modperl@perl.apache.org' }
+
+
1;
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org