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.
In reply to Re: Deleting Hash Entries while Iterating
by ariels
in thread Deleting Hash Entries while Iterating
by rmalhotra
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |