You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <gy...@laserlink.net> on 2001/07/09 15:46:37 UTC
RE: cvs commit: modperl-2.0/Apache-Test/lib/Apache TestConfigPerl
.pm
> -----Original Message-----
> From: dougm@apache.org [mailto:dougm@apache.org]
> Sent: Tuesday, June 26, 2001 1:10 PM
> To: modperl-2.0-cvs@apache.org
> Subject: cvs commit: modperl-2.0/Apache-Test/lib/Apache
> TestConfigPerl.pm
>
>
> dougm 01/06/26 10:09:50
>
> Modified: Apache-Test/lib/Apache TestConfigPerl.pm
> Log:
> die in modperl_startup.pl if modperl_{inc,extra}.pl die
I'm playing around with Apache::Test again...
anyway, I thought modperl_extra.pl was supposed to be optional?
--Geoff
>
> Revision Changes Path
> 1.13 +2 -1
> modperl-2.0/Apache-Test/lib/Apache/TestConfigPerl.pm
>
> Index: TestConfigPerl.pm
> ===================================================================
> RCS file:
> /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestConfigPerl.pm,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -u -r1.12 -r1.13
> --- TestConfigPerl.pm 2001/05/05 22:05:31 1.12
> +++ TestConfigPerl.pm 2001/06/26 17:09:46 1.13
> @@ -82,7 +82,8 @@
> BEGIN {
> use lib '$serverroot';
> for my \$file (qw(modperl_inc.pl modperl_extra.pl)) {
> - eval { require "conf/\$file" };
> + eval { require "conf/\$file" } or
> + die if \$@ !~ /^Can.t locate/;
> }
> }
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
RE: cvs commit: modperl-2.0/Apache-Test/lib/Apache TestConfigPerl
.pm
Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 9 Jul 2001, Geoffrey Young wrote:
> > die in modperl_startup.pl if modperl_{inc,extra}.pl die
> anyway, I thought modperl_extra.pl was supposed to be optional?
it is still optional, but if it exists and dies, then mod_perl should
propagate that. although, the $@ !~ /^Can.t locate/ is bogus, because it
might be that modperl_extra.pl was located, but a module it requires was
not.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
RE: cvs commit: modperl-2.0/Apache-Test/lib/Apache TestConfigPerl
.pm
Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 9 Jul 2001, Geoffrey Young wrote:
> > die in modperl_startup.pl if modperl_{inc,extra}.pl die
> anyway, I thought modperl_extra.pl was supposed to be optional?
it is still optional, but if it exists and dies, then mod_perl should
propagate that. although, the $@ !~ /^Can.t locate/ is bogus, because it
might be that modperl_extra.pl was located, but a module it requires was
not.