> Config::General - > > <View TT> > INCLUDE_PATH __path_to('root')__ > </View>
If nothing else, I'm very glad this thread was started because it introduced me to Config::General. It's definitely the way I'll be going. On a related note, I discovered the hard way today that ConfigLoader does not support the short forms of Model (M), View (V), and Controller (C) as nicely as the verbose ones. For instance, this does not work: <V TT> INCLUDE_PATH __path_to('foo')__ </V TT> It also doesn't work to use the long form of the config (<View TT>) if your class is actually named V::TT. They do have to match. I did finally get it to work with: <V::TT> INCLUDE_PATH __path_to('foo')__ </V::TT> The short form support could be fixed with a simple change to ConfigLoader::_fix_syntax. Is this desirable to the Catalyst community at large? Am I the only one still using the MVC short forms? :-) I know, I could rename all of my classes, but ... I really don't want to. _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/