in reply to Re: multiple greps at once-- possible?
in thread multiple greps at once-- possible?

Whether 'grep' or a short circuiting for is faster doesn't depend on how often you call it
Correct, but whether it is usefully faster might.
what's more important is whether there is a match
Well, yes. I did assume that we would expect to find a match rather often.

The PerlMonk tr/// Advocate
  • Comment on Re: Re: multiple greps at once-- possible?