Report question

Question: Is it safe in Perl to delete a key from a hash reference when I loop on the same hash? And why?