While educating myself about the new ksh features I stumbled over a behaviour which I do not understand. The example below tries to dereference a name reference but only returns the name of the variable but not the array index: % ksh93 $ typeset -A a $ a[x]=5 $ nameref l=a[x] echo "${!l}"' a
I expected a[x] as output. Is this a bug or do name references only apply to variables and not their index? -- robert neville - it consultant