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