[Catalyst] How to execute controller at startup

eden edencardim at gmail.com
Mon Aug 6 15:49:56 GMT 2007


On 8/6/07, Aditya Verma <verma.aditya1 at gmail.com> wrote:
> Hi,
>
> I am new to catalyst.
> I have developed an application using Catalyst.
>
> I need all my controllers to execute at startup and register there method
> URLs.
> I am not getting how to execute controller at startup.

I wonder what you mean by "register their method URLs", since the
Catalyst dispatcher already does that.

Anyway, startup logic for any Catalyst component can be run by
overriding the COMPONENT method. Just make sure it returns the
component instance.



More information about the Catalyst mailing list