in reply to Re: Iterating over hash while deleting elements
in thread Iterating over an hash while removing keys
It's documented.
> Exception: It is always safe to delete the item most recently returned by each, so the following code works properly:
>
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Iterating over hash while deleting elements
by Eily (Monsignor) on Feb 06, 2020 at 17:07 UTC | |
by LanX (Saint) on Feb 06, 2020 at 17:21 UTC | |
by Eily (Monsignor) on Feb 06, 2020 at 17:29 UTC | |
by LanX (Saint) on Feb 07, 2020 at 11:52 UTC | |
by Eily (Monsignor) on Feb 07, 2020 at 14:11 UTC | |
|