in reply to search a line in a file of 60,000 lines

Are you just looking for a boolean output - ie just whether the files differ? Or are you looking for more detailed output? For the former, you could you the built-in File::Compare module.

Dave.

  • Comment on Re: search a line in a file of 60,000 lines