On 22 Jan 2012, at 18:54, Robert Rothenberg wrote:

<View::TT>
COMPILE_DIR /var/opt/myapp/template_cache
</View::TT>

where MyApp::View::TT is the name of the view module.

None of them work. How do I do this?

This should work.

http://localhost:3000/?dump_info=1

will dump the config that the app has actually read in and merged (assuming you've got debug mode on and you're using the standard RenderView plugin).

Does the config dumped look like you expect? Can you show us?

Are you customising your TT view in any way (i.e. adding extra code yourself - specifically to the constructor). Do you have a make_immutable in there? (Can you show us the whole file?)

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to