[Catalyst] loading modules before the server forks
andy at hybridized.org
Thu Nov 8 19:39:34 GMT 2007
On Nov 8, 2007, at 2:32 PM, Octavian Rasnita wrote:
> 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.:
Everything is then loaded before Apache forks any children.
See the config example here:
More information about the Catalyst