Subject: Re: [ast-users] Nesting associative arrays
--------

> Hello
> is it possible to have nested associative arrays, i.e. a tree like structure 
> whe
> re each element of an associative array can contain another associative array?
> 
> Thanks,
> 
> -- 
> Daniel
> 

Yes, it should be possibile.  However, I have very few regression tests
in this area so let me know if you encounter problems

For example,
$ x=(
        [foo]=([bar]=23 [bam]=24])
        [bum]=([xxx]=54 [yyy]=99)
)
$ print ${x[bum][xxx]}
54

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to