in reply to reading lines from 2 different files

If you like modules you could try Text::Diff or my own Test::Files.

Phil

The Gantry Web Framework Book is now available.
  • Comment on Re: reading lines from 2 different files