Hi there,
I have done a wee bit of work with Perl and MS Word, not a whole lot, but a wee bit, and I would love to help if I can. Unfortunately, I find it difficult to understand exactly what you would like. Perhaps I am just silly. Do you think that you could rephrase your question, and I will see if I know anything of use.
Gerard