httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: How to deal with PerlModule?
Date Mon, 17 Sep 2001 11:05:39 GMT
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:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Mime
View raw message