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...
Comment on
Re: search a line in a file of 60,000 lines
In Section
Seekers of Perl Wisdom