in reply to Initializing Hashes of Hashes (of Hashes)
You might want to look at CGI::State. Looks like it does exactly what you want.