Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nosc!humu!pegasus!richard From: richard@pegasus.com (Richard Foulk) Newsgroups: comp.lang.perl Subject: Searching large file Message-ID: <1990Aug29.003742.16051@pegasus.com> Date: 29 Aug 90 00:37:42 GMT Reply-To: richard@pegasus.com (Richard Foulk) Organization: Pegasus, Honolulu Lines: 12 I need to search a large file or two for a text string. What is the fastest way to search a large file for the first occurance of some random string and return its location? Nothing I've tried has been very fast. Thanks. -- Richard Foulk richard@pegasus.com