[Catalyst] $c->comp($name) fails to return the correct class

Bernhard Graf catalyst at augensalat.de
Sat Sep 24 14:57:39 CEST 2005


On Saturday 24 September 2005 14:32, Alan Tam wrote:

> I tried to use $c->comp("MyApp::M::CDBI::Book") to get a class for
> the "Book" table, but turns out it returned me the class for
> $c->comp("MyApp::M::CDBI::Booklet").

Welcome to my club. ;-)

> Anyone can tell me what did I do wrong? Thanks a lot!

http://lists.rawmode.org/pipermail/catalyst/2005-August/001464.html
-- 
Bernhard Graf



More information about the Catalyst mailing list