Those two lines can't both be represented.
$FoodHash{green}{big} can't store both a string "watermelon", and a hashref { sweet => "1234" }. Consider adding {value} to the end of all your data, so that everything is a hashref except when the key is "value". (Use some other string if "value" will conflict with your data.) So your assignments become: