[Catalyst] method precedence App.pm or App::Controller::Root.pm

Armin Obersteiner armin at xos.net
Wed Jul 12 07:03:53 CEST 2006


hi!

> Controller::Root - this was introduced specifically to get action  
> methods out of MyApp.pm so you don't run into conflicts (somebody  
> creating a 'login' action and then wondering why $c->login wasn't  
> happy was a very common mistake before).

thanks! got it. thanks. good idea actually.

slight idea: give a warning if e.g. "end" is defined at multiple places?
or even a bigger warning if you override an important internal like login?

Ciao,
	Armin
--
armin at xos.net                        pgp public key on request        CU



More information about the Catalyst mailing list