Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by sunadmn (Curate)
on Aug 13, 2004 at 11:36 UTC ( #382616=note: print w/replies, xml ) Need Help??


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.
SUNADMN
USE PERL
  • Comment on Re: search a line in a file of 60,000 lines