in reply to search a line in a file of 60,000 lines
If speed is your main concern, you might consider using the shell-solution; use 'sort' to sort the unsorted file, then 'diff' to compare them...
|
---|
In Section
Seekers of Perl Wisdom