in reply to
Differences between normal hashes and DBM tied hashes
Another great tool for storing complex data structures is
Data::Dumper
I highly recommend it, I think it will work well for what you are attempting above.
Comment on
Re: Differences between normal hashes and DBM tied hashes
In Section
Seekers of Perl Wisdom