[Catalyst] Login problem with Cat5

Sebastian Riedel sri at oook.de
Tue Apr 19 01:52:40 CEST 2005

Am 19.04.2005 um 01:41 schrieb Michael Reece:

> Putting 'sub login : Global' and 'sub logout : Global' in 
> MyApp::C::Login,
> and calling $c->forward('/login/login') does fix the problem, fwiw.
> But I wonder when else this will crop up..  For example, what if a 
> plugin,
> for whatever reason, has its own 'sub default'?

Well, we should write this down somewhere.

The application class is not supposed to have more than the built in 
actions (begin, auto, default and end).
You "can" define them but at own risk. ;)
Naturally, plugins are not allowed to have begin, auto, default and end.


More information about the Catalyst mailing list