Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Iterating over hash while deleting elementsby LanX (Saint) |
on Feb 06, 2020 at 17:05 UTC ( [id://11112503]=note: print w/replies, xml ) | Need Help?? |
> Nice to know but I wouldn't rely on it 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
In Section
Seekers of Perl Wisdom
|
|