[Catalyst] YAML Config

Matt S Trout dbix-class at trout.me.uk
Tue Jul 24 16:49:49 GMT 2007


On Tue, Jul 24, 2007 at 04:45:32PM +0400, Oleg Pronin wrote:
> Hi.
> 
> I would like to use references to variables that have been defined in my
> yaml config.
> 
> Something like this:
> 
> var_dir: &var __path_to(var)__
> 
> log_dir: &log *var/log
> log_file: *log/file.txt

Config::General definitely supports something like that, so maybe throwing
the horror that is YAML out of your app early and moving to .conf would work.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list