[Catalyst] Catalyst::Controller::FormBuilder config problem

Robert 'phaylon' Sedlacek rs at 474.at
Fri Dec 22 10:24:22 GMT 2006

Michael Reece wrote:
> be wary of putting your base controller class in the MyApp/Controller/
> directory, because catalyst will load it as a controller itself.  which
> sucks if you want to put default inheritable actions in your base
> class.

Why does it suck especially then?

> i use MyApp/Controller.pm for the base class to avoid this
> problem, since catalyst still, as far as i can tell, has no way to let
> you specify which controller classes to load or not load.

Personally I use App/Base/Controller/Foo.pm, App/Base/Schema/Foo.pm,
etc. Matt uses App/ControllerBase/Foo.pm IIRC.

# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' rs at 474.at ', Web => ' http://474.at ' }

More information about the Catalyst mailing list