The order of keys when iterating over all keys in a hash is not defined (unless you read 'em all and then sort 'em or such).
I am perplexed as to what you would want to do in your proposed loop given that the key,value pairs from %hash1 would have no correlation with %hash2?
In reply to Re: iterate/traverse Two Hashes at once
by Marshall
in thread iterate/traverse Two Hashes at once
by cthar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |