perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [PATCH]Apache::IncludeHook
Date Wed, 29 Jun 2005 18:33:25 GMT
Torsten Foertsch wrote:
> Hi Geoff,
> 
> the following code:
> 
> <!--#if expr="" -->
> <!--#perl sub="sub {print "MUST NOT BE PRINTED"}" -->
> <!--#else -->
> <!--#perl sub="sub {print "OK"}" -->
> <!--#endif -->
> 
> produces:
> 
> MUST NOT BE PRINTED
> OK
> 
> I believe, this wrong. The first sub must even not be called.
> 
> The attached patch cures it. It contains 2 additional tests and an additional 
> line in IncludeHook.xs.

wow, you even figured out my lame testing system.  excellent!

patch applied and will be part of the next release.  since it's the only
change I might wait a little bit before getting it to CPAN, but probably
not more than a week.

thanks again!

--Geoff

Mime
View raw message