in reply to
Re^3: Comparing Hash key with array
in thread Comparing Hash key with array
Excellent! Thanks, that works as I want.
It turns out my original code, albeit verbose, almost works when I change that "==" to "eq". One of those things were you can't see the wood for the trees!
Thanks for the tip regarding iterating through @lines. There will be an huge amount of data in there when it goes live.
Results (326 votes),