⭐ in reply to Deleting Hash Entries while Iterating
If just iterating over the list of keys of the hash (e.g. foreach (keys %hash)) then of course no limitations exist -- the list of keys is generated once at the start of the iteration, so deletion does nothing.
|
---|