[Catalyst] Configuration Approach

Oliver Gorwits oliver.gorwits at computing-services.oxford.ac.uk
Tue Oct 25 14:24:20 CEST 2005


On Tuesday 25 October 2005 13:05, Cédric Bouvier wrote:
> Is there a way to avoid copy'n'pasting throughout the whole config
> file?

Not tried it myself, but I think you need "Aliases and Anchors" in YAML. 
Here's an example with explanation from a Ruby help page:

   http://yaml4r.sourceforge.net/cookbook/#aliases_and_anchors

Further detail is probably available in the YAML spec. Not sure about 
embedding the anchors, though.

   http://yaml.org/spec/current.html#id2508656

regards,
oliver.
-- 
Oliver Gorwits, Network Infrastructure Group,
Oxford University Computing Services



More information about the Catalyst mailing list