in reply to How to compare hash values to array values in Perl
you have 3 nested loops, this must be wrong.
Just read table.txt ONCE (open,loop,close) into a big hash with the numbers (second-column) as keys.
Then while reading values.txt check this hash (open,loop and test, close)
2 unnested loops, that's all you need.
HTH :)
Cheers Rolf
( addicted to the Perl Programming Language)
corrected typo, thx Athanasius! :)
|
|---|