in reply to Insert at regular increments

This seems to work, but I'm not crazy about the solution. The s/// wasn't intuitive to me, but it was the first solution I found.

It may not be intuitive to you, but it's a fine solution, and one that wouldn't offend the sensibilities of most Perl hackers.