[Catalyst] More complex Class::DBI::Sweet usage?

Perrin Harkins perrin at elem.com
Fri Jul 1 16:32:51 CEST 2005

On Fri, 2005-07-01 at 12:06 +0100, Toby Corkindale wrote:
> This is where the confusion occured - since everything uses Catalyst::Model::*
> I figured I should be naming my packages under the "Model" namespace, rather
> than the "M" namespace. I knew aliases existed so you can access things via
> either method, but I figured that the actual packages themselves should be
> "model" and the "m" version was the alias - not the other way round!

Several people on the list (see the CRUD discussion) seem to have been
tripped up by this.  I'd suggest either dropping the aliasing feature or
documenting the places where you should say M and where you should Model
very carefully.

- Perrin

More information about the Catalyst mailing list