in reply to Multiple regex against files with speed

If you're for speed, then take a look at Regexp::Optimizer. This will append regexes into one regexp and additionly will do trie optimization.

Assuming you really mean regexps, your example code uses file globs instead.

  • Comment on Re: Multiple regex against files with speed