Oleg Pronin wrote:
> >I don't even know what those do. Why do you want them?
>
>
> &anchors are used to define an anchor on variable.
> *aliases are used to insert previously defined anchor's value.
>
> For example,
> root_dir: &root /very/long/path/to/root/dir
> root_dir2: *root
>
> print MyApp->config->{root_dir2}; # /very/long/path/to/root/dir
>
>
Good reason for using them.
Shame it appears nothing in perl supports them. If you want to use them
i suggest you submit a patch against the YAML module of your choice.
_______________________________________________
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/