in reply to grep match variable position

This question has been asked and answered here a few times in the past: Super Search it. I especially like bobf's solution using cpan modules.

PS - I do like to see people re-inventing the wheel, because it means they're exercising their technical creativity, and sometimes a novel solution shows up!

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.