Yeah I know, sorry. I don't understand what you mean. I am new to Perl. The hashes which I create to put into the array should have as names the strings which were originally in the array. So for example if $file{data}
= "hello" then I want to replace hello with the hash %hello which I then want to put equal to the hash returned by extrct().