XP is just a number | |
PerlMonks |
Re: search a line in a file of 60,000 linesby Gilimanjaro (Hermit) |
on Aug 13, 2004 at 11:40 UTC ( [id://382617]=note: print w/replies, xml ) | Need Help?? |
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
|
|