# there are n number of files to parse %masterhash = ( %file_1_hash, ..., %file_n_hash); # within each file hash %file_1_hash = (%foo, %foo2); #within each section %foo = ( letter => "a", number => "b" ); # %letter would = a # %number would = b ... with n number of elements within foohash # same for foo2 %foo2 = ( %letter, %number); # same as foo #... Note: n number of sections in each file.