This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: modperl@apache.org From: Pierre Phaneuf <pp@ludusdesign.com> Subject: PerlModule vs "use" in a <Perl> section Date: Thu, 01 Mar 2001 23:13:53 -0500 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? ===