Hi!
Anyone has experience in testing an Apache module (mod_perl 2.0, of course)
with
custom configuration directives ?
I'm talking about a module "packaged" (h2xs -AX -n Foo::Bar) and then tested
(perl Makefile.PL; make; make test), when as custom configuration is like
that:

# file t/conf/extra.conf.in
PerlModule Foo::Bar
#PerlLoadModule Foo::Bar    # if uncommented catch an error when "make test"
<Location /foo>
  MyFoo 30
  SetHandler modperl
  PerlRequestHandler Foo::Bar
</Location>

Obviously the variable MyFoo is corrected "handled" in Foo/Bar.pm (see
mod_perl 2.0 User's guide ch.6 for
more details) but seems to be not work under a "packaged" module.
So I can't test... only testing "by hand" (orribly long time operation..).

Any suggestions/critics/wishes ?
TIA



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

Reply via email to