[Catalyst] Any chance there is an arbitrary limit to how many
classes you can load this way...?
Matt S Trout
dbix-class at trout.me.uk
Thu Oct 11 21:14:05 GMT 2007
On Tue, Oct 09, 2007 at 11:58:30PM -0400, John Romkey wrote:
> Try making sure that you fully qualify all your model and view names,
> and that they're the correct names, no typos.
>
> So, instead of:
>
> $c->view('Foo')
>
> use
>
> $c->view('MyApp::View::Foo')
WRONG.
$c->view('Foo')
is correct. Never -ever- use a full class name to $c->view, that relies on
the broken regex search and when we deprecate it it -will- stop working.
The problem is when you misspell 'Foo'.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list