in reply to What is the best way to dump data structures to logfiles?

If Data::Dumper does the job, then what's wrong with it? It isn't a debugging tool as such, it's a tool to turn Perl data structures into readable Perl code. Looks like just what you need.