This works ok for a few iterations of the outer loop, but after about 200, the foreach seems to ignore all but a couple of %timings members.for (;;) { foreach my $item (sort (keys %timings)) { do_stuff(); # changes data, not keys, no deletes } }
In reply to looping through hash of hashes by tangent.gardner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |