in reply to Data type name required [not Perl exclusive question]
Hm. Tree traversal might also be relevant. (Though it is hard to tell: your question is somewhat vague, Dr. Rorschach.)