Note: You can't safely use last, return or die to exist a while each loop. Not running each to the end makes each unusuable on that hash at a latter point. While less memory efficient, the for alternative avoids this problem.
In reply to Re^2: Using foreach to process a hash
by ikegami
in thread Using foreach to process a hash
by iridius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |