|There's more than one way to do things|
Re: How to compare hash values to array values in Perlby LanX (Bishop)
|on May 14, 2014 at 04:30 UTC||Need Help??|
> Then, I want to compare the second column of table.txt with the first column of values.txt.
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.
( addicted to the Perl Programming Language)
corrected typo, thx Athanasius! :)