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
