[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:13:12 GMT 2007


On Tue, Oct 09, 2007 at 04:41:02PM -0500, Jonathan Rockway wrote:
> FWIW, this is going to burn users of View::Template::Declare also. 
> Given YourApp::View::TD and a templates like YourApp::View::TD::*, set:
> 
>    YourApp->config( default_view => qw/View::TD$/ );
> 
> and *NOT*:
> 
>    YourApp->config( default_view => 'View::TD');

No!

->config(default_view => 'TD');

Remember, the default_view arg is -what you pass to $c->view-. Which means
no MyApp::View::

-- 
      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