in reply to In Search of a Better Mousetrap

The code, hosted on PerlMonks. It just fits in a post on its own.