in reply to Multiple patterns match in a big file and track the counts of each pattern matched

Consider File::Map ... map the large file into memory and then treat it as a giant string.
  • Comment on Re: Multiple patterns match in a big file and track the counts of each pattern matched

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.