[Catalyst] Why load modules two times?

Lars Balker Rasmussen lars at balker.dk
Tue Aug 4 08:28:51 GMT 2009


On Tue, Aug 4, 2009 at 10:07 AM, Malloy<jackworker at gmail.com> wrote:
> I find the modules  were loaded two times?
> [info] myapp powered by Catalyst 5.7014
> [Tue Aug 04 01:05:18 2009] [notice] Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1
> mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations

That's how mod_perl rolls.  I think you'll find that the standalone
server doesn't load the modules twice.

http://perl.apache.org/docs/2.0/user/handlers/server.html

Best way to avoid this: don't use mod_perl.
-- 
Lars Balker Rasmussen                                        Consult::Perl



More information about the Catalyst mailing list