perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: cvs commit: modperl-2.0/lib/ModPerl
Date Fri, 07 Nov 2003 18:07:36 GMT

> the attached patch makes it possible to use -bugreport with the 
> Apache::TestRun(Perl)->generate_script() form

sorry, I meant to include examples.  with this patch, you can use the 
following formats in your Makefile.PL

# scalars are printed in the post-error banner
Apache::TestRun(Perl)->generate_script(bugreport => 'some message');

# subroutines are eval'd when t/TEST is generated, so config-time
# variables such as Apache::TestConfig::IS_MOD_PERL_2 can be used
Apache::TestRun(Perl)->generate_script(bugreport => sub { 'some message' });

# continues to work as before (if anyone actually uses it)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message