Thanks for the response! I was looking into how %seen works and realized where my code was wrong
I added a line above the loop: my %table2a = keys %table2 and then changed my if statement: if (exists ($table2a {$x}))
Now it's working just as expected. You'll also notice that the parentheses in the if statement changed as well.
In reply to Re^2: Nested loops?
by Speed_Freak
in thread Nested loops?
by Speed_Freak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |