in reply to Merging hashes

Have you tried with Hash::Merge? This module can merge arbitrarily deep hashes into a single hash; it can also merge ARRAYs and SCALARs. Hope this helps.

Ciao, Valerio