Subject: | Variables |
Date: | Thu, 12 Aug 2010 13:16:01 -0400 (EDT) |
To: | bug-YAML-AppConfig [...] rt.cpan.org |
From: | mohy <mohy [...] pair.com> |
Hi:
This isn't quite a bug as it is a very nice feature to add. I wasn't
able to access any values other than the ones for the primary keys. I read
the docs and I kept trying but failed. If there is a way to do it
currently, please let me know. It would be nice to able to access values
from a hash or an array that is structured in a deeper level.
possible examples for hash usage:
Common :
email : email@dom.ext
other :
test1 : test value_1
test2 : test value_2
keys :
value_1 : My email is $Common->{email}
value_2 : My tests are $Common{other}
value_3 : My latest test is $Common->{other}{test_1}
You can choose the syntax you prefer.
Thanks
-Mohy