Enrico Sorcinelli wrote:
Hi all,

I have this PerlSetVar behaviour. Suppose to have:

        <Location /foo>
                SetHander perl-script
                PerlSetVar Something 0
                PerlResponseHandler MyModule
        </Location>

But in MyModule.pm, $r->dir_config('Something') returns an undef value instead
of 0 (zero). This happens on both mod_perl generations (I have Perl 5.8.1 with mp
1.29 and mp 1.99_10).

hmm. PerlSetVar uses apache tables, so I'm not sure whether the problem is with mod_perl or apache's internal treatment of 0 in C land and the subsequent perl translation. but I'll look into it for you next week. thanks for reporting it.



I'm surprise of this, because in my Apache (1.x) C modules experience, TAKE1 (or TAKE2) directive doesn't have the same behaviour returnig args also with 0 values.

this uses a completely different mechanism :)


--Geoff


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to