I was using Apache::Status to learn a bit about what is loaded by my
server, and I am wondering about a detail...
If I put this:
<Perl>
use Apache::Foo;
</Perl>
Or this:
PerlModule Apache::Foo
I would expect the two to behave the same, but they don't! The "use" in
the <Perl> section does as I was expecting (the module and everything it
loaded was right there), but while the PerlModule seemed to change
something (Apache::Util was loaded, which I use in my Apache::Foo
module), Apache::Foo itself wasn't on the list of loaded modules!
Using a "+" when installing the PerlHandler (like this: "PerlHandler
+Apache::Foo") did load the module as expected.
Now, why aren't modules loaded with PerlModule not showing up in the
loaded modules list of Apache::Status?
Thanks!
--
Pierre Phaneuf
http://www3.sympatico.ca/pphaneuf/
|