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/ 

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

Reply via email to