In praise of Regexp::Assemble

…and of the Perl modules in general. I had the following problem:

Given a list of 16 character alphanumeric IDs, find all the lines from a large-ish (\~6GB) logfile which contain at least one of the IDs.

The naive approach was to construct a big regular expression like \W(\QID1 ...

more ...