Gary Benson wrote:

Hi all,

In the config we maintain a list of modules, both compiled in and loaded
via LoadModule, which is build in TestConfigParse.pm. I've been trying
to figure out how to deal with modules loaded via PerlModule? For
LoadModule ones it knows that mod_XXXX.so => mod_XXXX.c and libYYYY.so =>
mod_YYYY.c, but how do you extract the .c name from a Perl module?


I'm not sure I understand your question. But PerlModule == use(), and PerlRequire == require(). So if you want to load a perl module Foo::Bar from .conf file you either do:

 PerlModule Foo::Bar

or

 PerlRequire Foo/Bar.pm

hope that answers your question


_____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/




Reply via email to