in reply to hashes - treating all keys/ values as one
The easy way:
use Data::Dumper; print Data::Dumper->Dumper(\%hash); [download]
----Reinvent a rounder wheel.
Note: All code is untested, unless otherwise stated