@yegg implemented this part, but I believe the lexical scope is used because this whole block is inside the above `for` loop on [line 173](https://github.com/duckduckgo/duckduckgo/pull/56/files#diff-4c8118129855c2891c3e7981b5002f29L173). Seeing as we're initializing `$begin` and `$hitstruct` with default values though, I don't believe the lexical scoping is needed.