Let me also refer you to
Adam's highly informative and useful
node
RE: Data::Dumper (Adam: Sample Usage), which helps explain how to use Data::Dumper to dump deeply nested data structures "as is."
Philosophy can be made out of anything. Or less -- Jerry A. Fodor