more useful options | |
PerlMonks |
Re^2: Iterating over an hash while removing keysby Anonymous Monk |
on Feb 06, 2020 at 21:47 UTC ( [id://11112517]=note: print w/replies, xml ) | Need Help?? |
That is certainly what I would do in this case. And, if the size of the list becomes a problem, just have it break out of the first loop, get rid of the keys it's found so far, and start over.
In Section
Seekers of Perl Wisdom
|
|