my %complex_hash = (); # now stick stuff in the hash store (\%complex_hash, '/some/file/name'); # notice the use of the backslash, meaning you pass a reference # later on . . . $complex_hash_ref = retrieve('/some/file/name'); # or even %complex_hash = %( retrieve('/some/file/name');