%hash={"$file"=>@final_data}; #this hash assignment +doesn't work close (FILE); } @values=values(%hash);