[Catalyst] $c->comp($name) fails to return the correct class
Tam at SiuLung.com
Sat Sep 24 15:45:06 CEST 2005
Bernhard Graf wrote:
>>Anyone can tell me what did I do wrong? Thanks a lot!
Thanks for your pointer! No matter I agree with whether regex is good or
bad, no reason can we cast the class to its boolean context.
Given my limited perl knowledge, I can workaround by either patching
Class::DBI to always return true or Catalyst::Engine to use defined().
Any more choice for me?
My "MyApp::M::CDBI" looks like below and I do not define all other
use base "Catalyst::Model::CDBI::CRUD";
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst