in reply to trying to create search engine

From the snippet you've got, I'm guessing that you really want elsif ($filein =~ /$search/i). Where $search is "james".

Replies are listed 'Best First'.
Re: (ichimunki) Re: trying to create search engine
by elton247 (Initiate) on Apr 13, 2001 at 21:02 UTC
    You are totally right. it works perfect now. This sheads a lot of light on my use of regular expressions. Thanks