I would like to set the COMPILE_DIR for TT templates in the configuration file, rather than hardcode it in the MyApp::View::TT file. I have tried the following:
compile_dir /var/opt/myapp/template_cache COMPILE_DIR /var/opt/myapp/template_cache <View::TT> compile_dir /var/opt/myapp/template_cache </View::TT> <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? _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/