Can't you simply exit from the each when you are done, and maybe include it in an external loop of some kind?
Or have I completely missed the point?
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: Pick any key from a very large hash
by psini
in thread Pick any key from a very large hash
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |