httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Benson <gben...@redhat.com>
Subject Re: How to deal with PerlModule?
Date Mon, 17 Sep 2001 11:44:43 GMT

On Mon, 17 Sep 2001, Stas Bekman wrote:

> 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

It appears that I have become completely confused; sorry for wasting your
time guys.

Gary


Mime
View raw message