on Fri, 12 Jul 2002 21:14:19 GMT, Connie Chan wrote: > Right, I better set $GetLocation = -1, but, what I am looking for > is if there is something working like grep does ? > > @elemLoc = grepIndex (/pattern/, @list); # something like that ? > > And is that I can't aviod to use loop to search for matching ?
Have you considered putting your data in a hash instead of an array? -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]