in reply to Re: matching a line from one file in another
in thread matching a line from one file in another

I think you are probably correct, a hash would be much cleaner. I will probably rewrite accordingly (good way to teach myself how to work with hashes), thanks.
  • Comment on Re^2: matching a line from one file in another