in reply to Re: Multiple loop variable in foreach statement
in thread Multiple loop variable in foreach statement

Well, I tried this already and what appears to happen is that the for loops act independently and not as one because the below code should only report one time (I changed one character in one of the files that made up the hash tables). $val_raw = $raw58{$key_raw}; $val_ref = $ref58{$key_ref}; if ($key_raw eq $key_ref && $val_raw eq $val_ref) { next; } else { print "$key_raw $val_raw $key_ref $val_ref\n"; }
  • Comment on Re^2: Multiple loop variable in foreach statement