nested vars - possible to use?

Is it possible to use something like ${${varName}}, where ${varName} has e.g. ciName value, which also is variable, which contains e.g. domainName, and so on ?

 

if

${varName}=ales

${ales}=nick

${nick}=1941

after reading of something like ${${${varName}}}

I will get '1941'

 

 

Tags: