in reply to
search a line in a file of 60,000 lines
Well it sounds like you are trying to reinvent the wheel here why not take a look at File::Compare or try out Array::Compare I think this will be the easiest and fastest for you.
I have absolutely zero preference
Results (54 votes),