Ok, thank you. I know how to load the modules, but I just wanted to know if
all dependencies are loaded before server fork.
Octavian
----- Original Message -----
From: "Andy Grundman" <[EMAIL PROTECTED]>
To: "The elegant MVC web framework" <[email protected]>
Sent: Thursday, November 08, 2007 9:39 PM
Subject: Re: [Catalyst] loading modules before the server forks
On Nov 8, 2007, at 2:32 PM, Octavian Rasnita wrote:
Hi,
If I have a Catalyst application and I use
PerlResponseHandler Application::Name
in httpd.conf
and I load that module in a startup.pl file, what happends with the
modules that might be loaded by that Catalyst app?
Are they also loaded before the server forks? Or I will need to load
them manually one by one in the startup.pl?
All you have to load is your application, i.e.:
PerlModule MyApp
Everything is then loaded before Apache forks any children.
See the config example here:
http://search.cpan.org/~agrundma/Catalyst-Engine-Apache-1.11/lib/Catalyst/Engine/Apache2/MP20.pm
-Andy
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/